This is an automated email from the ASF dual-hosted git repository.

capistrant pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new dd5fc20dccb RegularLoadableSegmentTest: Order-insensitve check. 
(#18908)
dd5fc20dccb is described below

commit dd5fc20dccb49cd61e8b0b50a46c7fbb0c39b14b
Author: Gian Merlino <[email protected]>
AuthorDate: Mon Jan 12 16:13:00 2026 -0800

    RegularLoadableSegmentTest: Order-insensitve check. (#18908)
    
    The order-sensitive check in the test can cause spurious failures.
---
 .../java/org/apache/druid/msq/input/RegularLoadableSegmentTest.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/multi-stage-query/src/test/java/org/apache/druid/msq/input/RegularLoadableSegmentTest.java
 
b/multi-stage-query/src/test/java/org/apache/druid/msq/input/RegularLoadableSegmentTest.java
index 70e16b880de..50a21969ea1 100644
--- 
a/multi-stage-query/src/test/java/org/apache/druid/msq/input/RegularLoadableSegmentTest.java
+++ 
b/multi-stage-query/src/test/java/org/apache/druid/msq/input/RegularLoadableSegmentTest.java
@@ -79,6 +79,7 @@ import java.util.Arrays;
 import java.util.Collections;
 import java.util.List;
 import java.util.Optional;
+import java.util.Set;
 import java.util.concurrent.TimeUnit;
 
 /**
@@ -266,7 +267,7 @@ class RegularLoadableSegmentTest extends 
InitializedNullHandlingTest
 
     // Cache dir should exist, but be (mostly) empty, since we've closed all 
segments.
     Assertions.assertTrue(cacheDir.exists());
-    Assertions.assertEquals(List.of("info_dir", "__drop"), 
Arrays.asList(cacheDir.list()));
+    Assertions.assertEquals(Set.of("info_dir", "__drop"), 
Set.of(cacheDir.list()));
     Assertions.assertEquals(Collections.emptyList(), Arrays.asList(new 
File(cacheDir, "__drop").list()));
     Assertions.assertEquals(Collections.emptyList(), Arrays.asList(new 
File(cacheDir, "info_dir").list()));
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to