Skip to content

Commit a9d16ee

Browse files
authored
Skip enterprise license tests in release build (#50182)
The release builds use a production license key, and our rest test load licenses that are signed by the dev license key. This change adds the new enterprise license Rest tests to the blacklist on release builds. Backport of: #50163
1 parent 4d22e3c commit a9d16ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/plugin/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ integTest.runner {
124124
if (!snapshot) {
125125
// these tests attempt to install basic/internal licenses signed against the dev/public.key
126126
// Since there is no infrastructure in place (anytime soon) to generate licenses using the production
127-
// private key, these tests are whitelisted in non-snapshot test runs
128-
blacklist.addAll(['xpack/15_basic/*', 'license/20_put_license/*'])
127+
// private key, these tests are blacklisted in non-snapshot test runs
128+
blacklist.addAll(['xpack/15_basic/*', 'license/20_put_license/*', 'license/30_enterprise_license/*'])
129129
}
130130
systemProperty 'tests.rest.blacklist', blacklist.join(',')
131131
dependsOn copyKeyCerts

0 commit comments

Comments
 (0)