Skip to content

Commit

Permalink
Fix failing non snapshot ci build (#77335)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
breskeby authored Sep 7, 2021
1 parent 1fc2495 commit a53230e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/external-modules/die-with-dignity/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ esplugin {
GradleUtils.extendSourceSet(project, "main", "javaRestTest", tasks.named("javaRestTest"))

tasks.named("javaRestTest").configure {
it.onlyIf { BuildParams.isSnapshotBuild() }
systemProperty 'tests.security.manager', 'false'
systemProperty 'tests.system_call_filter', 'false'
nonInputProperties.systemProperty 'log', "${-> testClusters.javaRestTest.singleNode().getServerLog()}"
Expand Down

0 comments on commit a53230e

Please sign in to comment.