XComp commented on a change in pull request #16286:
URL: https://github.com/apache/flink/pull/16286#discussion_r662057935
##########
File path:
flink-clients/src/test/java/org/apache/flink/client/deployment/application/FromJarEntryClassInformationProviderTest.java
##########
@@ -72,9 +73,13 @@ public void testEitherJobClassNameOrJarHasToBeSet() {
FromJarEntryClassInformationProvider.createFromCustomJar(null, null);
}
- @Ignore // FLINK_OPT_DIR has to be set
@Test
public void testPythonJarFile() {
+ // TODO: see FLINK-23154
+ Assume.assumeTrue(
+ "This tests only succeeds if " +
ConfigConstants.ENV_FLINK_OPT_DIR + " is set.",
+ System.getProperty(ConfigConstants.ENV_FLINK_OPT_DIR) != null);
Review comment:
Yeah, I thought of building a classpath that includes a mocked
`flink-python.jar`. But adapting the enviroment variables is not advisable.
That's were I stopped investigating.
--
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]