We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be7ea73 commit 0313fbbCopy full SHA for 0313fbb
test/framework/src/main/java/org/opensearch/test/FeatureFlagSetter.java
test/framework/src/main/java/org/opensearch/test/OpenSearchTestCase.java
@@ -85,6 +85,7 @@
85
import org.opensearch.common.time.DateUtils;
86
import org.opensearch.common.time.FormatNames;
87
import org.opensearch.common.unit.TimeValue;
88
+import org.opensearch.common.util.FeatureFlags;
89
import org.opensearch.common.util.MockBigArrays;
90
import org.opensearch.common.util.MockPageCacheRecycler;
91
import org.opensearch.common.util.concurrent.ThreadContext;
@@ -242,7 +243,7 @@ public static void resetPortCounter() {
242
243
@Override
244
public void tearDown() throws Exception {
245
Schedulers.shutdownNow();
- FeatureFlagSetter.clear();
246
+ FeatureFlags.TestUtils.reset();
247
super.tearDown();
248
}
249
0 commit comments