aljoscha commented on a change in pull request #7493: [FLINK-11036] Fix
test_streaming_classloader.sh end-to-end test
URL: https://github.com/apache/flink/pull/7493#discussion_r248630527
##########
File path:
flink-end-to-end-tests/flink-parent-child-classloading-test-program/src/main/java/org/apache/flink/streaming/tests/ClassLoaderTestProgram.java
##########
@@ -52,48 +48,28 @@ public static void main(String[] args) throws Exception {
String gitCommitId;
- try (InputStream propFile =
ClassLoaderTestProgram.class.getClassLoader().getResourceAsStream(".version.properties"))
{
+ try (InputStream propFile =
ClassLoaderTestProgram.class.getClassLoader().getResourceAsStream("parent-child-test.properties"))
{
Properties properties = new
Properties();
properties.load(propFile);
- gitCommitId =
properties.getProperty("git.commit.id.abbrev");
+ gitCommitId =
properties.getProperty("message");
}
Enumeration<URL> resources =
ClassLoaderTestProgram.class.getClassLoader().getResources(
- ".version.properties");
+ "parent-child-test.properties");
StringBuilder sortedProperties = new
StringBuilder();
while (resources.hasMoreElements()) {
URL url = resources.nextElement();
try (InputStream in = url.openStream())
{
Properties properties = new
Properties();
properties.load(in);
- String orderedGitCommitId =
properties.getProperty("git.commit.id.abbrev");
+ String orderedGitCommitId =
properties.getProperty("message");
Review comment:
fixing
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services