Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opensearch-project/OpenSearch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f1d5490f88bc3beb5104e2473266c372a18e616f
Choose a base ref
..
head repository: opensearch-project/OpenSearch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1228bda82a1577eb68daf9ac55debb5572da1082
Choose a head ref
Showing with 0 additions and 5 deletions.
  1. +0 −5 server/src/test/java/org/opensearch/common/util/FeatureFlagTests.java
Original file line number Diff line number Diff line change
@@ -100,11 +100,6 @@ public void testFeatureFlagsEmptySettings() {
assertFalse(featureFlagsImpl.isEnabled(TEST_FEATURE));
}

public void testFeatureFlagsSettingsTestUtilsReset() {
featureFlagsImpl.initializeFeatureFlags(Settings.builder().put(TEST_FEATURE, true).build());
assertTrue(featureFlagsImpl.isEnabled(TEST_FEATURE));
}

public void testFeatureFlagsTestUtilsSetSingleFlag() {
featureFlagsImpl.set(TEST_FEATURE, false);
assertFalse(featureFlagsImpl.isEnabled(TEST_FEATURE));