The GitHub Actions job "Flink Connector Kafka CI" on flink-connector-kafka.git/main has succeeded. Run started by GitHub user MartijnVisser (triggered by MartijnVisser).
Head commit for run: 2354da054b93e422d22d69bb52cef380f39d6684 / Sylwester Lachiewicz <[email protected]> [FLINK-40136][Connectors/Kafka] Fix flaky ConcurrentModificationException in DynamicKafkaSourceEnumeratorTest hasLatestMetadataUpdateEvent() polls getLatestMetadataUpdateEventWithoutContextSync() while the enumerator's metadata discovery thread appends events via sendEventToSourceReader() on the main executor thread. In MockSplitEnumeratorContext, sentSourceEvent's inner List<SourceEvent> instances are shared and can be appended to concurrently while the polling loop streams them (FLINK-40543), which intermittently throws ConcurrentModificationException. Catch ConcurrentModificationException alongside AssertionError in hasLatestMetadataUpdateEvent() so the existing CommonTestUtils.waitUtil(...) polling loop retries instead of failing the test. Retain reflection in getLatestMetadataUpdateEventWithoutContextSync() because calling the public MockSplitEnumeratorContext#getSentSourceEvent() dispatches to workerExecutor and calls Future#get(); in tests that intentionally block workerExecutor (such as testProductionMetadataRefreshBypassesBlockedSourceCoordinatorAsyncCallable), calling getSentSourceEvent() causes a thread deadlock. Generated-by: Claude Fable 5 Report URL: https://github.com/apache/flink-connector-kafka/actions/runs/35453033111 With regards, GitHub Actions via GitBox
