25
25
* client operations and sends invocation instructions to the DurableTaskWorker).
26
26
*/
27
27
@ Tag ("integration" )
28
- @ ExtendWith (TestRetryExtension .class )
29
28
public class ErrorHandlingIntegrationTests extends IntegrationTestBase {
29
+
30
30
@ BeforeEach
31
31
private void startUp () {
32
32
}
33
33
34
- @ RetryingTest
34
+ @ Test
35
35
void orchestratorException () throws TimeoutException {
36
36
final String orchestratorName = "OrchestratorWithException" ;
37
37
final String errorMessage = "Kah-BOOOOOM!!!" ;
@@ -57,7 +57,7 @@ void orchestratorException() throws TimeoutException {
57
57
}
58
58
}
59
59
60
- @ RetryingParameterizedTest
60
+ @ ParameterizedTest
61
61
@ ValueSource (booleans = {true , false })
62
62
void activityException (boolean handleException ) throws TimeoutException {
63
63
final String orchestratorName = "OrchestratorWithActivityException" ;
@@ -109,7 +109,7 @@ void activityException(boolean handleException) throws TimeoutException {
109
109
}
110
110
}
111
111
112
- @ RetryingParameterizedTest
112
+ @ ParameterizedTest
113
113
@ ValueSource (ints = {1 , 2 , 10 })
114
114
public void retryActivityFailures (int maxNumberOfAttempts ) throws TimeoutException {
115
115
// There is one task for each activity call and one task between each retry
@@ -123,7 +123,7 @@ public void retryActivityFailures(int maxNumberOfAttempts) throws TimeoutExcepti
123
123
});
124
124
}
125
125
126
- @ RetryingParameterizedTest
126
+ @ ParameterizedTest
127
127
@ ValueSource (ints = {1 , 2 , 10 })
128
128
public void retryActivityFailuresWithCustomLogic (int maxNumberOfAttempts ) throws TimeoutException {
129
129
// This gets incremented every time the retry handler is invoked
@@ -140,7 +140,7 @@ public void retryActivityFailuresWithCustomLogic(int maxNumberOfAttempts) throws
140
140
assertEquals (maxNumberOfAttempts , retryHandlerCalls .get ());
141
141
}
142
142
143
- @ RetryingParameterizedTest
143
+ @ ParameterizedTest
144
144
@ ValueSource (booleans = {true , false })
145
145
void subOrchestrationException (boolean handleException ) throws TimeoutException {
146
146
final String orchestratorName = "OrchestrationWithBustedSubOrchestrator" ;
@@ -190,7 +190,7 @@ void subOrchestrationException(boolean handleException) throws TimeoutException
190
190
}
191
191
}
192
192
193
- @ RetryingParameterizedTest
193
+ @ ParameterizedTest
194
194
@ ValueSource (ints = {1 , 2 , 10 })
195
195
public void retrySubOrchestratorFailures (int maxNumberOfAttempts ) throws TimeoutException {
196
196
// There is one task for each sub-orchestrator call and one task between each retry
@@ -205,7 +205,7 @@ public void retrySubOrchestratorFailures(int maxNumberOfAttempts) throws Timeout
205
205
});
206
206
}
207
207
208
- @ RetryingParameterizedTest
208
+ @ ParameterizedTest
209
209
@ ValueSource (ints = {1 , 2 , 10 })
210
210
public void retrySubOrchestrationFailuresWithCustomLogic (int maxNumberOfAttempts ) throws TimeoutException {
211
211
// This gets incremented every time the retry handler is invoked
0 commit comments