Github user NicoK commented on a diff in the pull request: https://github.com/apache/flink/pull/3978#discussion_r118260352 --- Diff: flink-libraries/flink-cep/src/test/java/org/apache/flink/cep/operator/CEPOperatorTest.java --- @@ -654,6 +654,7 @@ public boolean filter(Event value) throws Exception { Lists.newArrayList(startEvent2, endEvent, middleEvent3) ) ); + harness.close(); --- End diff -- ok, did that - would have been nice to use try-with-resources but I didn't want to change too much and an operator's `close()` method does allow throwing `Exception`s and so should `AbstractStreamOperatorTestHarness#close()` (probably)
--- 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. ---