Skip to content

Commit 34d4a03

Browse files
committed
Skip enterprise license tests in release build
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. Relates: elastic#50067 Resolves: elastic#50151 Backport of: elastic#50163
1 parent cd04021 commit 34d4a03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/plugin/build.gradle

+2-2
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)