Skip to content

Commit e5eb296

Browse files
committed
Make test case more stable
1 parent d743993 commit e5eb296

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/src/test/scala/org/apache/openwhisk/core/containerpool/v2/test/FunctionPullingContainerProxyTests.scala

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1440,10 +1440,7 @@ class FunctionPullingContainerProxyTests
14401440
Some(instanceId),
14411441
Some(testContainerId)),
14421442
""))
1443-
inAnyOrder {
1444-
probe.expectMsg(Transition(machine, Paused, Running))
1445-
probe.expectMsgType[Resumed]
1446-
}
1443+
probe.expectMsgAllClassOf(Transition(machine, Paused, Running).getClass, classOf[Resumed])
14471444

14481445
awaitAssert {
14491446
factory.calls should have size 1

0 commit comments

Comments
 (0)