Clear interrupted flag after test to not interfere with next test. See #2400
This commit is contained in:
parent
d965c78871
commit
fbd9935d9d
1 changed files with 2 additions and 0 deletions
|
|
@ -446,6 +446,8 @@ abstract class ActorModelSpec(config: String) extends AkkaSpec(config) with Defa
|
|||
assert(Await.result(f4, remaining) === "foo2")
|
||||
assert(Await.result(f5, remaining) === "baz2")
|
||||
assert(Await.result(f6, remaining) === "bar2")
|
||||
// clear the interrupted flag (only needed for the CallingThreadDispatcher) so the next test can continue normally
|
||||
Thread.interrupted()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue