XComp commented on a change in pull request #16286:
URL: https://github.com/apache/flink/pull/16286#discussion_r662124087



##########
File path: 
flink-clients/src/test/java/org/apache/flink/client/program/PackagedProgramRetrieverImplTest.java
##########
@@ -126,10 +126,9 @@ public void 
testDeriveEntryClassInformationForPythonBasedOnParameter() throws Fl
     }
 
     @Test
-    public void testDeriveEntryClassInformationForCustomJar()
-            throws FlinkException, MalformedURLException {
-        // make loading from system classpath fail to make sure that it's not 
triggered
-        multipleEntryClassesClasspathProvider.setSystemClasspath();
+    public void testDeriveEntryClassInformationForCustomJar() throws 
FlinkException {
+        // clearing the system classpath to make sure that no data is 
collected from there
+        System.setProperty("java.class.path", "");

Review comment:
       Good point. I will update it...




-- 
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: [email protected]

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


Reply via email to