diff --git a/tests/slow/src/test/scala/tests/gradle/GradleLspSuite.scala b/tests/slow/src/test/scala/tests/gradle/GradleLspSuite.scala index 6eaaed7d738..04267f04efd 100644 --- a/tests/slow/src/test/scala/tests/gradle/GradleLspSuite.scala +++ b/tests/slow/src/test/scala/tests/gradle/GradleLspSuite.scala @@ -446,7 +446,7 @@ class GradleLspSuite extends BaseImportSuite("gradle-import") { } yield () } - test("fatal-warnings") { + test("fatal-warnings", maxRetry = 3) { cleanWorkspace() for { _ <- initialize( diff --git a/tests/unit/src/test/scala/tests/FingerprintsLspSuite.scala b/tests/unit/src/test/scala/tests/FingerprintsLspSuite.scala index c9fc508b272..266b3ff6f29 100644 --- a/tests/unit/src/test/scala/tests/FingerprintsLspSuite.scala +++ b/tests/unit/src/test/scala/tests/FingerprintsLspSuite.scala @@ -3,7 +3,7 @@ package tests import scala.meta.internal.metals.ServerCommands class FingerprintsLspSuite extends BaseLspSuite("fingerprints") { - test("break") { + test("break", maxRetry = 3) { cleanWorkspace() for { _ <- initialize(