This is an automated email from the ASF dual-hosted git repository.
cwylie 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 74cf0919df8 fix flaky SegmentLocalCacheManagerConcurrencyTest (#18704)
74cf0919df8 is described below
commit 74cf0919df8502feccb14333d172f9715288e69e
Author: Clint Wylie <[email protected]>
AuthorDate: Thu Oct 30 02:30:27 2025 -0700
fix flaky SegmentLocalCacheManagerConcurrencyTest (#18704)
---
.../segment/loading/SegmentLocalCacheManagerConcurrencyTest.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
a/server/src/test/java/org/apache/druid/segment/loading/SegmentLocalCacheManagerConcurrencyTest.java
b/server/src/test/java/org/apache/druid/segment/loading/SegmentLocalCacheManagerConcurrencyTest.java
index f0ae0042364..e6da9b2e6cf 100644
---
a/server/src/test/java/org/apache/druid/segment/loading/SegmentLocalCacheManagerConcurrencyTest.java
+++
b/server/src/test/java/org/apache/druid/segment/loading/SegmentLocalCacheManagerConcurrencyTest.java
@@ -428,8 +428,9 @@ class SegmentLocalCacheManagerConcurrencyTest
Assertions.assertEquals(0, location2.getActiveWeakHolds());
Assertions.assertTrue(4 >= location.getWeakEntryCount());
Assertions.assertTrue(4 >= location2.getWeakEntryCount());
- Assertions.assertTrue(4 >= location.getPath().listFiles().length);
- Assertions.assertTrue(4 >= location2.getPath().listFiles().length);
+ // 5 because __drop path
+ Assertions.assertTrue(5 >= location.getPath().listFiles().length);
+ Assertions.assertTrue(5 >= location2.getPath().listFiles().length);
Assertions.assertEquals(location.getStats().getEvictionCount(),
location.getStats().getUnmountCount());
Assertions.assertEquals(location2.getStats().getEvictionCount(),
location2.getStats().getUnmountCount());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]