Skip to content

Commit a53230e

Browse files
authored
Fix failing non snapshot ci build (#77335)
After moving test-die-with-dignity to an external test module (see #77136) we need to ensure the javaRestTests are only triggered in snapshot builds as they fail on non snapshot builds. Fixes #77326
1 parent 1fc2495 commit a53230e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/external-modules/die-with-dignity/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ esplugin {
1313
GradleUtils.extendSourceSet(project, "main", "javaRestTest", tasks.named("javaRestTest"))
1414

1515
tasks.named("javaRestTest").configure {
16+
it.onlyIf { BuildParams.isSnapshotBuild() }
1617
systemProperty 'tests.security.manager', 'false'
1718
systemProperty 'tests.system_call_filter', 'false'
1819
nonInputProperties.systemProperty 'log', "${-> testClusters.javaRestTest.singleNode().getServerLog()}"

0 commit comments

Comments
 (0)