From da5e7574437dabb82d3cfedf7cebdf7c5ab755b6 Mon Sep 17 00:00:00 2001 From: Matthias Pohl Date: Wed, 25 Aug 2021 15:49:57 +0200 Subject: [PATCH] [hotfix][yarn-tests] Fixes path definition for local YARN-test working directory artifact collection --- .../src/test/java/org/apache/flink/yarn/YarnTestBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java b/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java index c77e11555e29f..85d4c5abe4a17 100644 --- a/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java +++ b/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java @@ -1216,7 +1216,7 @@ public static void teardown() throws Exception { // to /target/flink-yarn-tests-*. // The files from there are picked up by the tools/ci/* scripts to upload them. if (isOnCI()) { - File target = new File("../target" + YARN_CONFIGURATION.get(TEST_CLUSTER_NAME_KEY)); + File target = new File("../target/" + YARN_CONFIGURATION.get(TEST_CLUSTER_NAME_KEY)); if (!target.mkdirs()) { LOG.warn("Error creating dirs to {}", target); }