File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
test-services/src/main/kotlin/dev/restate/sdk/testservices Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class CancelTestImpl {
2424 }
2525
2626 override suspend fun startTest (context : ObjectContext , operation : BlockingOperation ) {
27- val client = CancelTestBlockingServiceClient .fromContext(context, " " )
27+ val client = CancelTestBlockingServiceClient .fromContext(context, context.key() )
2828
2929 try {
3030 client.block(operation).await()
@@ -44,8 +44,8 @@ class CancelTestImpl {
4444
4545 class BlockingService : CancelTest .BlockingService {
4646 override suspend fun block (context : ObjectContext , operation : BlockingOperation ) {
47- val self = CancelTestBlockingServiceClient .fromContext(context, " " )
48- val client = AwakeableHolderClient .fromContext(context, " cancel " )
47+ val self = CancelTestBlockingServiceClient .fromContext(context, context.key() )
48+ val client = AwakeableHolderClient .fromContext(context, context.key() )
4949
5050 val awakeable = context.awakeable<String >()
5151 client.hold(awakeable.id).await()
You can’t perform that action at this time.
0 commit comments