Github user aljoscha commented on a diff in the pull request: https://github.com/apache/flink/pull/2434#discussion_r76624448 --- Diff: flink-streaming-connectors/flink-connector-kafka-base/src/test/java/org/apache/flink/streaming/connectors/kafka/testutils/MockRuntimeContext.java --- @@ -71,8 +71,7 @@ public MockRuntimeContext( ExecutionConfig execConfig, Object checkpointLock) { - this(numberOfParallelSubtasks, indexOfThisSubtask, execConfig, checkpointLock, - DefaultTimeServiceProvider.create(Executors.newSingleThreadScheduledExecutor())); + this(numberOfParallelSubtasks, indexOfThisSubtask, execConfig, checkpointLock, null); --- End diff -- Instead of passing `null` you can directly insert this line from below: `DefaultTimeServiceProvider.createForTesting(Executors.newSingleThreadScheduledExecutor(), this.checkpointLock)` and avoid the null check below.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---