[hotfix] Use correct ClassLoader in WindowOperatorMigrationTest
Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/bcca3fe6 Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/bcca3fe6 Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/bcca3fe6 Branch: refs/heads/master Commit: bcca3fe6851192e4fa5c74e973bd685d97bc5d3b Parents: 238c503 Author: Aljoscha Krettek <[email protected]> Authored: Fri Jan 13 14:22:39 2017 +0100 Committer: Aljoscha Krettek <[email protected]> Committed: Tue Jan 24 10:42:34 2017 +0100 ---------------------------------------------------------------------- .../runtime/operators/windowing/WindowOperatorMigrationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/bcca3fe6/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/operators/windowing/WindowOperatorMigrationTest.java ---------------------------------------------------------------------- diff --git a/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/operators/windowing/WindowOperatorMigrationTest.java b/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/operators/windowing/WindowOperatorMigrationTest.java index 429ffbe..7a356cf 100644 --- a/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/operators/windowing/WindowOperatorMigrationTest.java +++ b/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/operators/windowing/WindowOperatorMigrationTest.java @@ -73,7 +73,7 @@ import static org.junit.Assert.fail; public class WindowOperatorMigrationTest { private static String getResourceFilename(String filename) { - ClassLoader cl = WindowOperatorTest.class.getClassLoader(); + ClassLoader cl = WindowOperatorMigrationTest.class.getClassLoader(); URL resource = cl.getResource(filename); if (resource == null) { throw new NullPointerException("Missing snapshot resource.");
