Skip to content

Commit 5ef8233

Browse files
committed
Don't enforce entitlements on internalClusterTest for now
1 parent 65a7678 commit 5ef8233

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build-tools/src/main/java/org/elasticsearch/gradle/test/TestBuildInfoPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void apply(Project project) {
5858
});
5959

6060
project.getTasks().withType(Test.class).configureEach(test -> {
61-
if (List.of("test", "internalClusterTest").contains(test.getName())) {
61+
if (List.of("test").contains(test.getName())) {
6262
test.systemProperty("es.entitlement.enableForTests", "true");
6363
}
6464
});

libs/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ configure(childProjects.values()) {
5151
def nonServerLibs = Set.of('plugin-scanner')
5252
if (false == nonServerLibs.contains(project.name)) {
5353
project.getTasks().withType(Test.class).configureEach(test -> {
54-
if (List.of('test', 'internalClusterTest').contains(test.getName())) {
54+
if (List.of('test').contains(test.getName())) {
5555
test.systemProperty('es.entitlement.enableForTests', 'true')
5656
}
5757
})

0 commit comments

Comments
 (0)