kl0u commented on a change in pull request #12791:
URL: https://github.com/apache/flink/pull/12791#discussion_r459557618



##########
File path: flink-yarn-tests/src/test/java/org/apache/flink/yarn/YARNITCase.java
##########
@@ -101,10 +107,16 @@ public void testPerJobWithProvidedLibDirs() throws 
Exception {
 
                final Configuration flinkConfig = 
createDefaultConfiguration(YarnConfigOptions.UserJarInclusion.DISABLED);
                flinkConfig.set(YarnConfigOptions.PROVIDED_LIB_DIRS, 
Collections.singletonList(remoteLib.toString()));
-
                runTest(() -> deployPerJob(flinkConfig, getTestingJobGraph(), 
false));
        }
 
+       @Test
+       public void testPerJobWithArchive() throws Exception {
+               final Configuration flinkConfig = 
createDefaultConfiguration(YarnConfigOptions.UserJarInclusion.DISABLED);
+               final JobGraph archiveJobGraph = 
YarnTestArchiveJob.getArchiveJobGraph(tmp.newFolder(), flinkConfig);
+               runTest(() -> deployPerJob(flinkConfig, archiveJobGraph, 
false));
+       }

Review comment:
       The problem with the failure seems to be just that you set the last arg 
to `false`. I think you should set it to `true`. 




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to