File tree Expand file tree Collapse file tree 2 files changed +6
-18
lines changed
client/src/test/java/io/dapr/durabletask Expand file tree Collapse file tree 2 files changed +6
-18
lines changed Original file line number Diff line number Diff line change 33
44package io .dapr .durabletask ;
55
6- import static org .junit .jupiter .api .Assertions .assertEquals ;
7- import static org .junit .jupiter .api .Assertions .assertNotNull ;
8- import static org .junit .jupiter .api .Assertions .assertTrue ;
6+ import org .junit .jupiter .api .Tag ;
7+ import org .junit .jupiter .api .Test ;
8+ import org .junit .jupiter .params .ParameterizedTest ;
9+ import org .junit .jupiter .params .provider .ValueSource ;
910
1011import java .time .Duration ;
1112import java .util .concurrent .TimeoutException ;
1213import java .util .concurrent .atomic .AtomicBoolean ;
1314import java .util .concurrent .atomic .AtomicInteger ;
1415
1516import org .junit .jupiter .api .BeforeEach ;
16- import org .junit .jupiter .api .Tag ;
17- import org .junit .jupiter .api .extension .ExtendWith ;
18- import org .junit .jupiter .params .provider .ValueSource ;
17+ import static org .junit .jupiter .api .Assertions .*;
1918
2019/**
2120 * These integration tests are designed to exercise the core, high-level error-handling features of the Durable Task
2625 */
2726@ Tag ("integration" )
2827public class ErrorHandlingIntegrationTests extends IntegrationTestBase {
29-
30- @ BeforeEach
31- private void startUp () {
32- }
33-
3428 @ Test
3529 void orchestratorException () throws TimeoutException {
3630 final String orchestratorName = "OrchestratorWithException" ;
@@ -315,4 +309,4 @@ private FailureDetails retryOnFailuresCoreTest(
315309 return details ;
316310 }
317311 }
318- }
312+ }
Original file line number Diff line number Diff line change @@ -54,12 +54,6 @@ public class IntegrationTests extends IntegrationTestBase {
5454 // All tests that create a server should save it to this variable for proper shutdown
5555 private DurableTaskGrpcWorker server ;
5656
57- // Before whole test suite, delete the task hub
58- @ BeforeEach
59- private void startUp () {
60-
61- }
62-
6357 @ AfterEach
6458 private void shutdown () throws InterruptedException {
6559 if (this .server != null ) {
You can’t perform that action at this time.
0 commit comments