flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zentol <...@git.apache.org>
Subject [GitHub] flink pull request #6263: [FLINK-9743][Client] Use correct zip/jar path sepa...
Date Tue, 10 Jul 2018 10:24:40 GMT
Github user zentol commented on a diff in the pull request:

    https://github.com/apache/flink/pull/6263#discussion_r201291316
  
    --- Diff: flink-clients/src/test/java/org/apache/flink/client/program/PackagedProgramTest.java
---
    @@ -56,6 +63,54 @@ public void testGetPreviewPlan() {
     		}
     	}
     
    +	/**
    +	 * The test for {@link PackagedProgram#extractContainedLibraries}.
    +	 * As a prerequisite the test generates a jar file with the following structure
    +	 * test.jar
    +	 * |- lib
    +	 * |--|- internalTest.jar
    +	 */
    +	@Test
    +	public void testExtractContainedLibraries() {
    +		String s = "testExtractContainedLibraries";
    +		Path workDir = null;
    +		Path fakeJar = null;
    +		try {
    +			workDir = Files.createTempDirectory(PackagedProgram.class.getSimpleName() + "_");
    --- End diff --
    
    derive from `TemporaryFolder`


---

Mime
View raw message