Skip to content

Commit 6986051

Browse files
Add retry around flaky test (#29)
1 parent 76dfb10 commit 6986051

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

frontend/src/test/scala/bloop/DeduplicationSpec.scala

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,8 +775,14 @@ object DeduplicationSpec extends bloop.bsp.BspBaseSuite {
775775
}
776776
}
777777

778-
// TODO(jvican): Compile project of cancelled compilation to ensure no deduplication trace is left
779778
test("cancel deduplicated compilation finishes all clients") {
779+
// not too happy to add a retry around that one, hope there's nothing fishy going on
780+
TestUtil.retry() {
781+
cancelDeduplicatedCompilationFinishesAllClientsTest()
782+
}
783+
}
784+
// TODO(jvican): Compile project of cancelled compilation to ensure no deduplication trace is left
785+
def cancelDeduplicatedCompilationFinishesAllClientsTest(): Unit = {
780786
val logger = new RecordingLogger(ansiCodesSupported = false)
781787
TestUtil.withinWorkspace { workspace =>
782788
object Sources {

0 commit comments

Comments
 (0)