Skip to content

Commit 6dac485

Browse files
committed
IWF-438: Remove test
1 parent ae6d906 commit 6dac485

File tree

2 files changed

+0
-44
lines changed

2 files changed

+0
-44
lines changed

src/test/java/io/iworkflow/integ/RpcTest.java

-15
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@
66
import io.iworkflow.core.ClientSideException;
77
import io.iworkflow.core.ImmutableStopWorkflowOptions;
88
import io.iworkflow.core.ImmutableWorkflowOptions;
9-
import io.iworkflow.core.ImplementationException;
109
import io.iworkflow.gen.models.*;
1110
import io.iworkflow.integ.persistence.BasicPersistenceWorkflow;
1211
import io.iworkflow.integ.rpc.DeadEndStateWorkflow;
1312
import io.iworkflow.integ.rpc.NoStateWorkflow;
1413
import io.iworkflow.integ.rpc.RpcWorkflow;
1514
import io.iworkflow.integ.rpc.RpcWorkflowState2;
16-
import io.iworkflow.integ.rpc.RpcWorkflowWithFinalRpc;
1715
import io.iworkflow.spring.TestSingletonWorkerService;
1816
import io.iworkflow.spring.controller.WorkflowRegistry;
1917
import org.junit.jupiter.api.Assertions;
@@ -335,17 +333,4 @@ public void testSignalChannelSizeInfo(){
335333
Assertions.assertEquals(3, size2);
336334

337335
}
338-
339-
@Test
340-
public void testImplementationException() {
341-
final Client client = new Client(WorkflowRegistry.registry, ClientOptions.localDefault);
342-
final String wfId = "implementation-exception-test-id" + System.currentTimeMillis() / 1000;
343-
final Integer input = 5;
344-
try {
345-
client.startWorkflow(RpcWorkflowWithFinalRpc.class, wfId, input, null);
346-
} catch (ImplementationException e) {
347-
return;
348-
}
349-
Assertions.fail("An RPC method must not be final");
350-
}
351336
}

src/test/java/io/iworkflow/integ/rpc/RpcWorkflowWithFinalRpc.java

-29
This file was deleted.

0 commit comments

Comments
 (0)