Skip to content

Commit a711a51

Browse files
authored
Disable entitlements on OverrideNodeVersionCommandTests (#130768)
Disable entitlements on this test since it's testing a CLI tool, in which we'll never run with entitlements enabled. Resolves #130654
1 parent 9101607 commit a711a51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/src/test/java/org/elasticsearch/env/OverrideNodeVersionCommandTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import org.elasticsearch.common.settings.Settings;
2222
import org.elasticsearch.gateway.PersistedClusterStateService;
2323
import org.elasticsearch.test.ESTestCase;
24+
import org.elasticsearch.test.ESTestCase.WithoutEntitlements;
2425
import org.junit.After;
2526
import org.junit.Before;
2627

@@ -31,6 +32,7 @@
3132
import static org.hamcrest.Matchers.containsString;
3233
import static org.hamcrest.Matchers.equalTo;
3334

35+
@WithoutEntitlements
3436
public class OverrideNodeVersionCommandTests extends ESTestCase {
3537

3638
private Environment environment;

0 commit comments

Comments
 (0)