File tree 4 files changed +11
-6
lines changed
flink-connectors/flink-connector-files/src/test/java/org/apache/flink/connector/file/src
flink-runtime/src/test/java/org/apache/flink/runtime/jobmaster
flink-tests/src/test/java/org/apache/flink/test/runtime
4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 42
42
import org .apache .flink .util .function .FunctionWithException ;
43
43
import org .apache .flink .util .function .ThrowingConsumer ;
44
44
45
- import org .junit .jupiter .api .Tag ;
46
45
import org .junit .jupiter .api .Test ;
47
46
import org .junit .jupiter .api .extension .RegisterExtension ;
48
47
import org .junit .jupiter .api .io .TempDir ;
@@ -198,7 +197,6 @@ void testContinuousTextFileSource(
198
197
* record format (text lines) and restarts TaskManager.
199
198
*/
200
199
@ Test
201
- @ Tag ("org.apache.flink.testutils.junit.FailsWithAdaptiveScheduler" ) // FLINK-21450
202
200
void testContinuousTextFileSourceWithTaskManagerFailover (@ TempDir java .nio .file .Path tmpTestDir )
203
201
throws Exception {
204
202
// This test will kill TM, so we run it in a new cluster to avoid affecting other tests
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ function run_group_2 {
233
233
# Sticky Scheduling
234
234
# ###############################################################################
235
235
236
- if [[ ${PROFILE} != * " enable-adaptive-scheduler" * ]]; then # FLINK-21450
236
+ if [[ ${PROFILE} != * " enable-adaptive-scheduler" * ]]; then # FLINK-34416
237
237
run_test " Local recovery and sticky scheduling end-to-end test" " $END_TO_END_DIR /test-scripts/test_local_recovery_and_scheduling.sh 4 3 hashmap false false 100" " skip_check_exceptions"
238
238
run_test " Local recovery and sticky scheduling end-to-end test" " $END_TO_END_DIR /test-scripts/test_local_recovery_and_scheduling.sh 4 3 hashmap false true 100" " skip_check_exceptions"
239
239
run_test " Local recovery and sticky scheduling end-to-end test" " $END_TO_END_DIR /test-scripts/test_local_recovery_and_scheduling.sh 4 10 rocks false false 100" " skip_check_exceptions"
Original file line number Diff line number Diff line change @@ -1019,7 +1019,9 @@ void testResourceManagerConnectionAfterStart() throws Exception {
1019
1019
* if this execution fails.
1020
1020
*/
1021
1021
@ Test
1022
- @ Tag ("org.apache.flink.testutils.junit.FailsWithAdaptiveScheduler" ) // FLINK-21450
1022
+ // The AdaptiveScheduler doesn't support partial recovery but restarts all Executions in case of
1023
+ // a local failure.
1024
+ @ Tag ("org.apache.flink.testutils.junit.FailsWithAdaptiveScheduler" )
1023
1025
void testRequestNextInputSplitWithLocalFailover () throws Exception {
1024
1026
1025
1027
configuration .set (
Original file line number Diff line number Diff line change @@ -60,13 +60,18 @@ public class DefaultSchedulerLocalRecoveryITCase extends TestLogger {
60
60
private static final long TIMEOUT = 10_000L ;
61
61
62
62
@ Test
63
- @ Category (FailsWithAdaptiveScheduler .class ) // FLINK-21450
63
+ // The AdaptiveScheduler doesn't update the ExecutionGraph but creates a new Execution during
64
+ // local recovery. Recovering can also lead to a change in parallelism which makes the
65
+ // executionHistory non-linear. The lack of a linear executionHistory prevents us from applying
66
+ // the same test for the AdaptiveScheduler.
67
+ @ Category (FailsWithAdaptiveScheduler .class )
64
68
public void testLocalRecoveryFull () throws Exception {
65
69
testLocalRecoveryInternal ("full" );
66
70
}
67
71
68
72
@ Test
69
- @ Category (FailsWithAdaptiveScheduler .class ) // FLINK-21450
73
+ // see comment in #testLocalRecoveryFull
74
+ @ Category (FailsWithAdaptiveScheduler .class )
70
75
public void testLocalRecoveryRegion () throws Exception {
71
76
testLocalRecoveryInternal ("region" );
72
77
}
You can’t perform that action at this time.
0 commit comments