[
https://issues.apache.org/jira/browse/FLINK-6702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16022932#comment-16022932
]
ASF GitHub Bot commented on FLINK-6702:
---------------------------------------
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)
> SIGABRT after CEPOperatorTest#testCEPOperatorSerializationWRocksDB() during GC
> ------------------------------------------------------------------------------
>
> Key: FLINK-6702
> URL: https://issues.apache.org/jira/browse/FLINK-6702
> Project: Flink
> Issue Type: Bug
> Components: CEP, Tests
> Affects Versions: 1.3.0
> Reporter: Nico Kruber
>
> During the CEP unit tests, when garbage collection kicks in and tries to
> finalize RocksDB, it may fail with
> {code}
> pure virtual method called
> terminate called without an active exception
> Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
> {code}
> Reason is a missing {{harness.close()}} call in
> {{CEPOperatorTest#testCEPOperatorSerializationWRocksDB()}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)