Skip to content

Commit

Permalink
make test timeout longer, add flaky to metals test (#896)
Browse files Browse the repository at this point in the history
  • Loading branch information
rochala authored Jul 4, 2023
1 parent e9edde3 commit 5ea4fe3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Build Status
on:
pull_request:
push:

env:
MUNIT_FLAKY_OK: true

jobs:
tests:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class LoadBalancerRecoveryTest()
with BeforeAndAfterAll {

// import system.dispatcher
implicit val timeout = Timeout(10.seconds)
implicit val timeout: Timeout = Timeout(25.seconds)

test("recover from crash") {
val crash =
Expand Down Expand Up @@ -126,7 +126,7 @@ class LoadBalancerRecoveryTest()

Await.result(
(dispatchActor.ask(task)).mapTo[SnippetId],
10.seconds
15.seconds
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class MetalsDispatcherTest extends CatsEffectSuite with Assertions with CatsEffe
}
}

test("parallel metals access with dependencies") {
test("parallel metals access with dependencies".flaky) {
val targets = List(
ScalaTarget.Jvm.default,
ScalaTarget.Jvm(BuildInfo.latest212),
Expand Down

0 comments on commit 5ea4fe3

Please sign in to comment.