Skip to content

Commit

Permalink
wait for actor to be ready (dapr#965)
Browse files Browse the repository at this point in the history
Signed-off-by: MregXN <mregxn@gmail.com>
  • Loading branch information
MregXN authored Nov 30, 2023
1 parent c91c410 commit 3b0747c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdk-tests/src/test/java/io/dapr/it/actors/ActorStateIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ public void writeReadState(DaprApiProtocol daprClientProtocol, DaprApiProtocol s
new ActorProxyBuilder(actorType, ActorProxy.class, newActorClient());
ActorProxy proxy = proxyBuilder.build(actorId);

// wating for actor to be activated
Thread.sleep(2000);

// Validate conditional read works.
callWithRetry(() -> {
logger.debug("Invoking readMessage where data is not present yet ... ");
Expand Down

0 comments on commit 3b0747c

Please sign in to comment.