From 687ec9ba36469b483e88acfa9969fce5d84d084d Mon Sep 17 00:00:00 2001 From: Ekaterina Dimitrova Date: Thu, 12 Dec 2024 21:30:48 -0500 Subject: [PATCH] Fix testKDTreeQueryMetricsWithSingleIndex post CNDB-10629 --- .../apache/cassandra/index/sai/metrics/QueryMetricsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/org/apache/cassandra/index/sai/metrics/QueryMetricsTest.java b/test/unit/org/apache/cassandra/index/sai/metrics/QueryMetricsTest.java index a328b84b21e6..56e907dfb9c6 100644 --- a/test/unit/org/apache/cassandra/index/sai/metrics/QueryMetricsTest.java +++ b/test/unit/org/apache/cassandra/index/sai/metrics/QueryMetricsTest.java @@ -261,7 +261,7 @@ public void testKDTreePostingsQueryMetricsWithSingleIndex() // V2 index is very selective, so it should lead the union merge process, causing V1 index to be not used at all. execute("SELECT id1 FROM " + keyspace + "." + table + " WHERE v1 >= 0 AND v1 <= 1000 AND v2 = '5' ALLOW FILTERING"); - waitForVerifyHistogram(objectNameNoIndex("KDTreePostingsSkips", keyspace, table, PER_QUERY_METRIC_TYPE), 1); + waitForVerifyHistogram(objectNameNoIndex("KDTreePostingsSkips", keyspace, table, PER_QUERY_METRIC_TYPE), 2); } @Test