aljoscha commented on a change in pull request #7493: [FLINK-11036] Fix
test_streaming_classloader.sh end-to-end test
URL: https://github.com/apache/flink/pull/7493#discussion_r248645775
##########
File path: flink-end-to-end-tests/test-scripts/test_streaming_classloader.sh
##########
@@ -31,6 +31,22 @@ echo "classloader.resolve-order: parent-first" >>
"$FLINK_DIR/conf/flink-conf.ya
echo "Moving fake LibPackage.jar from end-to-end tests to lib/"
cp
${END_TO_END_DIR}/flink-parent-child-classloading-test-lib-package/target/LibPackage.jar
${FLINK_DIR}/lib/
+function classloader_cleanup() {
+ # don't call ourselves again for another signal interruption
+ trap "exit -1" INT
+ # don't call ourselves again for normal exit
+ trap "" EXIT
+
+ stop_cluster
+ $FLINK_DIR/bin/taskmanager.sh stop-all
+
+ # remove LibPackage.jar again
+ rm $FLINK_DIR/lib/flink-table*jar
Review comment:
oh man ... 🙈 thanks!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services