Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/5216#discussion_r160683780
--- Diff:
flink-yarn-tests/src/test/java/org/apache/flink/yarn/YARNITCase.java ---
@@ -78,6 +83,9 @@ public void testPerJobMode() {
jobGraph.addJar(new
org.apache.flink.core.fs.Path(testingJar.toURI()));
YarnClusterClient clusterClient =
yarnClusterDescriptorV2.deployJobCluster(clusterSpecification, jobGraph);
+
+ clusterClient.shutdown();
+ yarnClusterDescriptorV2.close();
--- End diff --
True will refactor it.
---