Details
-
Bug
-
Status: Open
-
Not a Priority
-
Resolution: Unresolved
-
1.7.0
-
None
Description
Currently they are using NetworkFailuresProxy which is unstable both for Kafka 0.11 in exactly once mode (in 50% tests are live locking) and for Kafka 2.0 (and because of that currently testOneToOneAtLeastOnceRegularSink and testOneToOneAtLeastOnceCustomOperator tests are disabled).
Those tests should either be rewritten to SIGKILL Flink's process doing the writing. Either as an ITCase SIGKILL-ing task manager or test harness SIGKILL-ing/exiting test harness process.
We can not simply use test harness and do not close it to simulate failure, because we want to make sure that we have flushed the records during checkpoint. If we do not SIGKILL the process, the background Kafka client's threads can just send those records for us.
Attachments
Issue Links
- supercedes
-
FLINK-10838 Rewrite Kafka tests that fail Kafka brokers
- Closed