This is an automated email from the ASF dual-hosted git repository.
gian 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 9fef2212ea8 Fix flaky BrokerServerViewTest. (#19093)
9fef2212ea8 is described below
commit 9fef2212ea8d6b4110291c8098f3408d1670c508
Author: Gian Merlino <[email protected]>
AuthorDate: Thu Mar 5 10:47:34 2026 -0800
Fix flaky BrokerServerViewTest. (#19093)
The test testDifferentTierStrategiesForHistoricalAndRealtimeServers was
flaky
because it adds 7 segments but only waits for 6.
---
server/src/test/java/org/apache/druid/client/BrokerServerViewTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/server/src/test/java/org/apache/druid/client/BrokerServerViewTest.java
b/server/src/test/java/org/apache/druid/client/BrokerServerViewTest.java
index f0771bc762a..6eff742c11c 100644
--- a/server/src/test/java/org/apache/druid/client/BrokerServerViewTest.java
+++ b/server/src/test/java/org/apache/druid/client/BrokerServerViewTest.java
@@ -555,7 +555,7 @@ public class BrokerServerViewTest extends CuratorTestBase
public void testDifferentTierStrategiesForHistoricalAndRealtimeServers()
throws Exception
{
segmentViewInitLatch = new CountDownLatch(1);
- segmentAddedLatch = new CountDownLatch(6);
+ segmentAddedLatch = new CountDownLatch(7);
segmentRemovedLatch = new CountDownLatch(0);
// Setup a Broker with LowestPriority strategy for historicals and
HighestPriority for realtime
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]