Skip to content

Commit 4b5afc2

Browse files
Update ActorStateIT.java
Increase sleep for actor activation
1 parent 4152393 commit 4b5afc2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public void writeReadState(AppRun.AppProtocol serviceAppProtocol) throws Excepti
161161
ActorProxy newProxy = proxyBuilder.build(actorId);
162162

163163
// wating for actor to be activated
164-
Thread.sleep(2000);
164+
Thread.sleep(5000);
165165

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

216216
// wating for actor to be activated
217-
Thread.sleep(2000);
217+
Thread.sleep(5000);
218218

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

257257
// waiting for actor to be activated
258-
Thread.sleep(2000);
258+
Thread.sleep(5000);
259259

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

0 commit comments

Comments
 (0)