Skip to content

Commit

Permalink
add retries to example curl
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Sep 6, 2024
1 parent 9172dd0 commit ab38feb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testkit/src/mill/testkit/ExampleTester.scala
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ class ExampleTester(
): Unit = {
val commandStr = commandStr0 match {
case s"mill $rest" => s"./mill $rest"
case s"curl $rest" => s"curl --retry 5 $rest"
case s => s
}
Console.err.println(s"$workspacePath> $commandStr")
Expand Down

0 comments on commit ab38feb

Please sign in to comment.