We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68914b9 commit c3cc1d2Copy full SHA for c3cc1d2
libs/build.gradle
@@ -45,4 +45,15 @@ configure(childProjects.values()) {
45
*/
46
apply plugin: 'elasticsearch.build'
47
}
48
+
49
+ // This is for any code potentially included in the server at runtime.
50
+ // Omit oddball libraries that aren't in server.
51
+ if (project.name != 'plugin-scanner') {
52
+ project.getTasks().withType(Test.class).configureEach(test -> {
53
+ if (List.of("test", "internalClusterTest").contains(test.getName())) {
54
+ test.systemProperty("es.entitlement.enableForTests", "true")
55
+ }
56
+ })
57
58
59
0 commit comments