Skip to content

Commit 3bcda61

Browse files
committed
Temporarily tag CLI docker image tests as flaky
1 parent 5d1f01e commit 3bcda61

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,8 @@ class NativePackagerTests extends ScalaCliSuite {
409409
((Properties.isMac || Properties.isWin) && !TestUtil.isCI)
410410

411411
if (hasDocker) {
412-
test("building docker image") {
412+
// TODO: restore this test when `registry-1.docker.io` is stable again
413+
test("building docker image".flaky) {
413414
TestUtil.retryOnCi() {
414415
runTest()
415416
}

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,13 +1161,15 @@ abstract class PackageTestDefinitions extends ScalaCliSuite with TestScalaVersio
11611161
}
11621162

11631163
if (Properties.isLinux) {
1164-
test("pass java options to docker") {
1164+
// TODO: restore this test when `registry-1.docker.io` is stable again
1165+
test("pass java options to docker".flaky) {
11651166
TestUtil.retryOnCi() {
11661167
javaOptionsDockerTest()
11671168
}
11681169
}
11691170

1170-
test("pass extra directory to docker") {
1171+
// TODO: restore this test when `registry-1.docker.io` is stable again
1172+
test("pass extra directory to docker".flaky) {
11711173
TestUtil.retryOnCi() {
11721174
dockerWithExtraDirsTest()
11731175
}

0 commit comments

Comments
 (0)