cnauroth commented on code in PR #8264:
URL: https://github.com/apache/hadoop/pull/8264#discussion_r2838357143
##########
hadoop-tools/hadoop-sls/src/test/java/org/apache/hadoop/yarn/sls/appmaster/TestAMSimulator.java:
##########
@@ -141,6 +145,16 @@ private void createMetricOutputDir() {
}
}
+ private void createNodeLabelsStoreDir() {
+ Path testDir =
+ Paths.get(System.getProperty("test.build.data", "target/test-dir"));
+ try {
+ nodeLabelsStoreDir = Files.createTempDirectory(testDir, "node-labels");
+ } catch (IOException e) {
+ Assertions.fail(e.toString());
Review Comment:
Optional: consider just letting this exception propagate to fail the test.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]