FrankChen021 commented on code in PR #19875:
URL: https://github.com/apache/druid/pull/19875#discussion_r3714755650


##########
extensions-core/testing-tools/src/test/java/org/apache/druid/guice/ClusterTestingModuleTest.java:
##########
@@ -87,7 +86,7 @@ public void 
test_peonRunnable_isNotModified_ifTestingIsDisabled() throws IOExcep
       System.setProperty("druid.unsafe.cluster.testing", "false");
 
       // Write out the task payload in a temporary json file
-      File file = temporaryFolder.newFile("task.json");
+      File file = File.createTempFile("task.json", null, temporaryFolder);

Review Comment:
   Fixed in 0989fc6476: all four task payload files now use new 
File(temporaryFolder, "task.json"), preserving the filename CliPeon reads. 
ClusterTestingModuleTest passed all 6 tests.



-- 
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]

Reply via email to