Skip to content

Commit fa5968c

Browse files
committed
Temporarily disable flaky docker images' tests
1 parent 0386d67 commit fa5968c

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

modules/integration/src/test/scala/scala/cli/integration/RunTestDefinitions.scala

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,8 @@ abstract class RunTestDefinitions
389389
}
390390

391391
if (Properties.isLinux && TestUtil.isNativeCli)
392-
test("no JVM installed") {
392+
// TODO: restore this test once it gets reliable again
393+
test("no JVM installed".ignore) {
393394
val fileName = "simple.sc"
394395
val message = "Hello"
395396
val inputs = TestInputs(
@@ -934,8 +935,11 @@ abstract class RunTestDefinitions
934935
}
935936
}
936937

937-
if (Properties.isLinux && TestUtil.isNativeCli && TestUtil.cliKind != "native-static")
938-
test("sudo") {
938+
if (
939+
Properties.isLinux && TestUtil.isNativeCli && TestUtil.cliKind != "native-static" && TestUtil.cliKind != "native-mostly-static"
940+
)
941+
// TODO: restore this test once it gets reliable again
942+
test("sudo".flaky) {
939943
sudoTest()
940944
}
941945

modules/integration/src/test/scala/scala/cli/integration/RunTestsDefault.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ class RunTestsDefault extends RunTestDefinitions
4848
}
4949

5050
if (Properties.isLinux && TestUtil.isNativeCli)
51-
test("arch linux") {
51+
// TODO: restore this test once it gets reliable again
52+
test("arch linux".ignore) {
5253
archLinuxTest()
5354
}
5455

0 commit comments

Comments
 (0)