Skip to content

Commit

Permalink
Update ActorStateIT.java
Browse files Browse the repository at this point in the history
Increase sleep for actor activation
  • Loading branch information
artur-ciocanu authored Mar 3, 2025
1 parent 4152393 commit 4b5afc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk-tests/src/test/java/io/dapr/it/actors/ActorStateIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public void writeReadState(AppRun.AppProtocol serviceAppProtocol) throws Excepti
ActorProxy newProxy = proxyBuilder.build(actorId);

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

callWithRetry(() -> {
logger.debug("Invoking readMessage where data is not cached ... ");
Expand Down Expand Up @@ -214,7 +214,7 @@ public void stateTTL(AppRun.AppProtocol serviceAppProtocol) throws Exception {
ActorProxy proxy = proxyBuilder.build(actorId);

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

// Validate conditional read works.
callWithRetry(() -> {
Expand Down Expand Up @@ -255,7 +255,7 @@ public void stateTTL(AppRun.AppProtocol serviceAppProtocol) throws Exception {
ActorProxy newProxy = proxyBuilder.build(actorId);

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

callWithRetry(() -> {
logger.debug("Invoking readMessage where data is not cached and expired ... ");
Expand Down

0 comments on commit 4b5afc2

Please sign in to comment.