zuston commented on a change in pull request #16994:
URL: https://github.com/apache/flink/pull/16994#discussion_r708841307



##########
File path: 
flink-yarn/src/test/java/org/apache/flink/yarn/YarnClusterDescriptorTest.java
##########
@@ -741,6 +742,37 @@ public void 
testDeployApplicationClusterWithDeploymentTargetNotCorrectlySet() {
         }
     }
 
+    @Test
+    public void testGetStagingDirWithoutSpecifyingStagingDir() throws 
IOException {
+        try (final YarnClusterDescriptor yarnClusterDescriptor = 
createYarnClusterDescriptor()) {
+            YarnConfiguration yarnConfig = new YarnConfiguration();
+            yarnConfig.set("fs.defaultFS", "file://tmp");
+            FileSystem defaultFileSystem = FileSystem.get(yarnConfig);
+            Path stagingDir = 
yarnClusterDescriptor.getStagingDir(defaultFileSystem);
+            assertEquals(

Review comment:
       Done




-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to