Skip to content

Commit d9e8445

Browse files
Update ActorStateIT.java
Fix compilation errors
1 parent 6694e2c commit d9e8445

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public void stateTTL(AppRun.AppProtocol serviceAppProtocol) throws Exception {
190190
String actorType = "StatefulActorTest";
191191
logger.debug("Building proxy ...");
192192
ActorProxyBuilder<ActorProxy> proxyBuilder =
193-
new ActorProxyBuilder(actorType, ActorProxy.class, deferClose(run.newActorClient());
193+
new ActorProxyBuilder(actorType, ActorProxy.class, deferClose(run.newActorClient()));
194194
ActorProxy proxy = proxyBuilder.build(actorId);
195195

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

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

237237
// waiting for actor to be activated

0 commit comments

Comments
 (0)