Skip to content

Commit

Permalink
Fix flaky test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Laimiux committed Jan 4, 2024
1 parent 40728fd commit be511aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ class FormulaRuntimeTest(val runtime: TestableRuntime, val name: String) {
}

val observer = runtime.test(formula, Unit)
bgAction.latch.await(10, TimeUnit.MILLISECONDS)
bgAction.latch.await(50, TimeUnit.MILLISECONDS)
assertThat(bgAction.errors.values().firstOrNull()?.message).contains(
"com.instacart.formula.subjects.OnlyUpdateFormula - Only thread that created it can post transition result Expected:"
)
Expand Down

0 comments on commit be511aa

Please sign in to comment.