zentol commented on code in PR #21128:
URL: https://github.com/apache/flink/pull/21128#discussion_r1043410595
##########
flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java:
##########
@@ -480,7 +483,7 @@ private static void writeHDFSSiteConfigXML(Configuration
coreSite, File targetFo
*/
public static void ensureNoProhibitedStringInLogFiles(
final String[] prohibited, final Pattern[] whitelisted) {
- File cwd = new File("target/" +
YARN_CONFIGURATION.get(TEST_CLUSTER_NAME_KEY));
+ File cwd = new File("target/test/data/" +
YARN_CONFIGURATION.get(TEST_CLUSTER_NAME_KEY));
Review Comment:
```suggestion
File cwd = new File("target/test/data/" +
YARN_CONFIGURATION.get(TEST_CLUSTER_NAME_KEY));
```
```suggestion
File cwd = new File(
GenericTestUtils.getTestDir(),
YARN_CONFIGURATION.get(TEST_CLUSTER_NAME_KEY));
```
Also applies to other usages of this path.
--
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]