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 3
3
4
4
package io .dapr .durabletask ;
5
5
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 ;
9
10
10
11
import java .time .Duration ;
11
12
import java .util .concurrent .TimeoutException ;
12
13
import java .util .concurrent .atomic .AtomicBoolean ;
13
14
import java .util .concurrent .atomic .AtomicInteger ;
14
15
15
16
import 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 .*;
19
18
20
19
/**
21
20
* These integration tests are designed to exercise the core, high-level error-handling features of the Durable Task
26
25
*/
27
26
@ Tag ("integration" )
28
27
public class ErrorHandlingIntegrationTests extends IntegrationTestBase {
29
-
30
- @ BeforeEach
31
- private void startUp () {
32
- }
33
-
34
28
@ Test
35
29
void orchestratorException () throws TimeoutException {
36
30
final String orchestratorName = "OrchestratorWithException" ;
@@ -315,4 +309,4 @@ private FailureDetails retryOnFailuresCoreTest(
315
309
return details ;
316
310
}
317
311
}
318
- }
312
+ }
Original file line number Diff line number Diff line change @@ -54,12 +54,6 @@ public class IntegrationTests extends IntegrationTestBase {
54
54
// All tests that create a server should save it to this variable for proper shutdown
55
55
private DurableTaskGrpcWorker server ;
56
56
57
- // Before whole test suite, delete the task hub
58
- @ BeforeEach
59
- private void startUp () {
60
-
61
- }
62
-
63
57
@ AfterEach
64
58
private void shutdown () throws InterruptedException {
65
59
if (this .server != null ) {
You can’t perform that action at this time.
0 commit comments