Skip to content

Commit ee0b69b

Browse files
authored
@WithoutEntitlements on CommandTestCase (#130580)
1 parent 2a49c26 commit ee0b69b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/framework/src/main/java/org/elasticsearch/cli/CommandTestCase.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
package org.elasticsearch.cli;
1111

1212
import org.elasticsearch.test.ESTestCase;
13+
import org.elasticsearch.test.ESTestCase.WithoutEntitlements;
1314
import org.hamcrest.Matcher;
1415
import org.junit.Before;
1516

@@ -25,6 +26,7 @@
2526
/**
2627
* A base test case for cli tools.
2728
*/
29+
@WithoutEntitlements // CLI tools don't run with entitlements enforced
2830
public abstract class CommandTestCase extends ESTestCase {
2931

3032
/** The terminal that execute uses */

0 commit comments

Comments
 (0)