Skip to content

Commit f8cfdc9

Browse files
committed
Checking for more SANO operations
1 parent dddc706 commit f8cfdc9

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

temporal-sdk/src/test/java/io/temporal/client/nexus/NexusClientInterceptorChainTest.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package io.temporal.client.nexus;
22

3-
import static org.junit.Assume.assumeTrue;
4-
53
import io.temporal.client.NexusClient;
64
import io.temporal.client.NexusClientImpl;
75
import io.temporal.client.NexusClientOptions;
@@ -10,6 +8,7 @@
108
import io.temporal.common.interceptors.NexusClientCallsInterceptorBase;
119
import io.temporal.common.interceptors.NexusClientInterceptor;
1210
import io.temporal.testing.internal.SDKTestWorkflowRule;
11+
import io.temporal.workflow.shared.StandaloneNexusTestPrerequisites;
1312
import io.temporal.workflow.shared.TestWorkflows;
1413
import java.util.ArrayList;
1514
import java.util.Arrays;
@@ -32,11 +31,8 @@ public class NexusClientInterceptorChainTest {
3231
SDKTestWorkflowRule.newBuilder().setWorkflowTypes(PlaceholderWorkflowImpl.class).build();
3332

3433
@BeforeClass
35-
public static void requireExternalService() {
36-
// The time-skipping test server does not implement standalone Nexus operation RPCs.
37-
assumeTrue(
38-
"standalone Nexus operations require a real server",
39-
SDKTestWorkflowRule.useExternalService);
34+
public static void requireServerWithStandaloneNexusSupport() {
35+
StandaloneNexusTestPrerequisites.requireServerSupport();
4036
}
4137

4238
@Test

0 commit comments

Comments
 (0)