AmatyaAvadhanula commented on code in PR #13476:
URL: https://github.com/apache/druid/pull/13476#discussion_r1052844647


##########
extensions-contrib/kubernetes-overlord-extensions/src/test/java/org/apache/druid/k8s/overlord/KubernetesTaskRunnerTest.java:
##########
@@ -103,11 +112,30 @@ public KubernetesTaskRunnerTest()
         new NamedType(ParallelIndexTuningConfig.class, "index_parallel"),
         new NamedType(IndexTask.IndexTuningConfig.class, "index")
     );
+    this.useMultipleBaseTaskDirPaths = useMultipleBaseTaskDirPaths;
   }
 
-  @BeforeEach
-  void setUp()
+  @Parameterized.Parameters(name = "useMultipleBaseTaskDirPaths = {0}")
+  public static Collection<Object[]> getParameters()
   {
+    Object[][] parameters = new Object[][]{
+        {false},
+        {true}
+    };
+
+    return Arrays.asList(parameters);
+  }
+
+  @Before
+  public void setUp()
+  {
+    List<String> baseTaskDirPaths = null;
+    if (useMultipleBaseTaskDirPaths) {
+      baseTaskDirPaths = ImmutableList.of(
+          FileUtils.createTempDir().toString(),

Review Comment:
   Done



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