Skip to content

Commit 364c1e2

Browse files
MregXNsalaboy
authored andcommitted
wait for actor to be ready (#965)
Signed-off-by: MregXN <[email protected]> Signed-off-by: salaboy <[email protected]>
1 parent 64d92ac commit 364c1e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sdk-tests/src/test/java/io/dapr/it/actors/ActorStateIT.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ public void writeReadState(DaprApiProtocol daprClientProtocol, DaprApiProtocol s
7878
new ActorProxyBuilder(actorType, ActorProxy.class, newActorClient());
7979
ActorProxy proxy = proxyBuilder.build(actorId);
8080

81+
// wating for actor to be activated
82+
Thread.sleep(2000);
83+
8184
// Validate conditional read works.
8285
callWithRetry(() -> {
8386
logger.debug("Invoking readMessage where data is not present yet ... ");

0 commit comments

Comments
 (0)