Skip to content

Commit

Permalink
Fix ActorsLeakSpec instability (#30660)
Browse files Browse the repository at this point in the history
Instability due to receiving an excess TimeoutException in the logging.

This just removes the check for the logging.

Fixes #30659
  • Loading branch information
raboof committed Sep 8, 2021
1 parent 72d6304 commit 226c9d3
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

package akka.remote.classic

import java.util.concurrent.TimeoutException

import scala.collection.immutable
import scala.concurrent.Await
import scala.concurrent.duration._
Expand Down Expand Up @@ -210,9 +208,6 @@ class ActorsLeakSpec extends AkkaSpec(ActorsLeakSpec.config) with ImplicitSender
}

Await.result(remoteSystem.whenTerminated, 10.seconds)

EventFilter[TimeoutException](occurrences = 1).intercept {}

awaitAssert(assertResult(initialActors)(targets.flatMap(collectLiveActors).toSet), 10.seconds)
}

Expand Down

0 comments on commit 226c9d3

Please sign in to comment.