File tree Expand file tree Collapse file tree
temporal-sdk/src/test/java/io/temporal/client/nexus Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package io .temporal .client .nexus ;
22
3- import static org .junit .Assume .assumeTrue ;
4-
53import io .temporal .client .NexusClient ;
64import io .temporal .client .NexusClientImpl ;
75import io .temporal .client .NexusClientOptions ;
108import io .temporal .common .interceptors .NexusClientCallsInterceptorBase ;
119import io .temporal .common .interceptors .NexusClientInterceptor ;
1210import io .temporal .testing .internal .SDKTestWorkflowRule ;
11+ import io .temporal .workflow .shared .StandaloneNexusTestPrerequisites ;
1312import io .temporal .workflow .shared .TestWorkflows ;
1413import java .util .ArrayList ;
1514import 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
You can’t perform that action at this time.
0 commit comments