zentol commented on code in PR #19351:
URL: https://github.com/apache/flink/pull/19351#discussion_r844077415
##########
flink-queryable-state/flink-queryable-state-runtime/src/test/java/org/apache/flink/queryablestate/itcases/AbstractQueryableStateTestBase.java:
##########
@@ -1342,7 +1347,7 @@ public void close() throws Exception {
Time.milliseconds(50),
deadline,
(jobStatus) ->
jobStatus.equals(JobStatus.CANCELED),
- TestingUtils.defaultScheduledExecutor());
+ new
ScheduledExecutorServiceAdapter(EXECUTOR_RESOURCE.getExecutor()));
Review Comment:
Although we couldn't put it into our test util modules.
Maybe we should just amend the FutureUtils to work against a plain
ScheduledExecutorService. Meh, that wouldn't quite work since they are also
used with a MainThreadExecutor.
Or add variants that also accept a ScheduledExecutorService.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]