Skip to content

Commit

Permalink
Tag flaky docker image with scala.js app test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gedochao committed Jun 24, 2024
1 parent acfcc17 commit 7331ea7
Showing 1 changed file with 12 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import scala.util.Properties

class NativePackagerTests extends ScalaCliSuite {
override def group: ScalaCliSuite.TestGroup = ScalaCliSuite.TestGroup.First

val helloWorldFileName = "HelloWorldScalaCli.scala"
val message = "Hello, world!"
val licencePath = "DummyLICENSE"
override def munitFlakyOK: Boolean = TestUtil.isCI
val helloWorldFileName = "HelloWorldScalaCli.scala"
val message = "Hello, world!"
val licencePath = "DummyLICENSE"
val testInputs: TestInputs = TestInputs(
os.rel / helloWorldFileName ->
s"""
Expand Down Expand Up @@ -415,7 +415,14 @@ class NativePackagerTests extends ScalaCliSuite {
}
}

test("building docker image with scala.js app") {
// FIXME for some reason, this test became flaky on the CI
if (TestUtil.isNativeCli)
test("building docker image with scala.js app".flaky) {
TestUtil.retryOnCi() {
runJsTest()
}
}
else test("building docker image with scala.js app") {
TestUtil.retryOnCi() {
runJsTest()
}
Expand Down

0 comments on commit 7331ea7

Please sign in to comment.