diff --git a/test/external-modules/die-with-dignity/build.gradle b/test/external-modules/die-with-dignity/build.gradle index 166a9ca6d138e..9b93c30a7794e 100644 --- a/test/external-modules/die-with-dignity/build.gradle +++ b/test/external-modules/die-with-dignity/build.gradle @@ -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()}"