Skip to content

Commit 9a35bf1

Browse files
Fix flight service IT.
Address ff contant nit. Signed-off-by: Finn Carroll <[email protected]>
1 parent c210e90 commit 9a35bf1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

plugins/arrow-flight-rpc/src/test/java/org/opensearch/arrow/flight/bootstrap/FlightServiceTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ public void testLifecycleStateTransitions() throws Exception {
148148
@Override
149149
public void tearDown() throws Exception {
150150
super.tearDown();
151+
ffLock.close();
151152
}
152153

153154
private DiscoveryNode createNode(int port) throws Exception {

server/src/main/java/org/opensearch/common/util/FeatureFlags.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
*/
2929
public class FeatureFlags {
3030
// Prefixes public for testing
31-
public static final String OS_EXPERIMENTAL_PREFIX = "opensearch.experimental.";
32-
public static final String FEATURE_FLAG_PREFIX = OS_EXPERIMENTAL_PREFIX + "feature.";
31+
private static final String OS_EXPERIMENTAL_PREFIX = "opensearch.experimental.";
32+
static final String FEATURE_FLAG_PREFIX = OS_EXPERIMENTAL_PREFIX + "feature.";
3333

3434
/**
3535
* Gates the visibility of the remote store to docrep migration.

0 commit comments

Comments
 (0)