Skip to content

Commit

Permalink
Update ActorStateIT.java
Browse files Browse the repository at this point in the history
Fix compilation errors
  • Loading branch information
artur-ciocanu authored Mar 3, 2025
1 parent 6694e2c commit d9e8445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk-tests/src/test/java/io/dapr/it/actors/ActorStateIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public void stateTTL(AppRun.AppProtocol serviceAppProtocol) throws Exception {
String actorType = "StatefulActorTest";
logger.debug("Building proxy ...");
ActorProxyBuilder<ActorProxy> proxyBuilder =
new ActorProxyBuilder(actorType, ActorProxy.class, deferClose(run.newActorClient());
new ActorProxyBuilder(actorType, ActorProxy.class, deferClose(run.newActorClient()));
ActorProxy proxy = proxyBuilder.build(actorId);

// wating for actor to be activated
Expand Down Expand Up @@ -231,7 +231,7 @@ public void stateTTL(AppRun.AppProtocol serviceAppProtocol) throws Exception {
serviceAppProtocol);

// Need new proxy builder because the proxy builder holds the channel.
proxyBuilder = new ActorProxyBuilder(actorType, ActorProxy.class, deferClose(run2.newActorClient());
proxyBuilder = new ActorProxyBuilder(actorType, ActorProxy.class, deferClose(run2.newActorClient()));
ActorProxy newProxy = proxyBuilder.build(actorId);

// waiting for actor to be activated
Expand Down

0 comments on commit d9e8445

Please sign in to comment.