Skip to content

Commit 1a3259c

Browse files
committed
Make the test stable
1 parent 07c9202 commit 1a3259c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import org.apache.openwhisk.common.{GracefulShutdown, Logging, TransactionId}
3131
import org.apache.openwhisk.core.ack.ActiveAck
3232
import org.apache.openwhisk.core.connector.{AcknowledegmentMessage, ActivationMessage}
3333
import org.apache.openwhisk.core.containerpool.logging.LogCollectingException
34-
import org.apache.openwhisk.core.containerpool.v2._
34+
import org.apache.openwhisk.core.containerpool.v2.{ContainerCreatedData, _}
3535
import org.apache.openwhisk.core.containerpool.{
3636
ContainerRemoved,
3737
Paused => _,
@@ -1575,6 +1575,9 @@ class FunctionPullingContainerProxyTests
15751575

15761576
machine ! Initialize(invocationNamespace.asString, fqn, action, schedulerHost, rpcPort, messageTransId)
15771577
probe.expectMsg(Transition(machine, Uninitialized, CreatingClient))
1578+
awaitAssert {
1579+
machine.stateData shouldBe a[ContainerCreatedData]
1580+
}
15781581
client.expectMsg(StartClient)
15791582
client.send(machine, ClientCreationCompleted())
15801583

0 commit comments

Comments
 (0)