This is an automated email from the ASF dual-hosted git repository.
jackie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 8fff7eb705 Fix a flaky test
OfflineClusterMemBasedBrokerQueryKillingTest.testDigestOOMMultipleQuerie.
(#11121)
8fff7eb705 is described below
commit 8fff7eb70597eb74c05ee788378eb8fa1ed8efaf
Author: Shen Yu <[email protected]>
AuthorDate: Tue Jul 18 18:57:13 2023 -0700
Fix a flaky test
OfflineClusterMemBasedBrokerQueryKillingTest.testDigestOOMMultipleQuerie.
(#11121)
---
.../tests/OfflineClusterMemBasedBrokerQueryKillingTest.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterMemBasedBrokerQueryKillingTest.java
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterMemBasedBrokerQueryKillingTest.java
index 4bbab9a93c..b5c0a5351d 100644
---
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterMemBasedBrokerQueryKillingTest.java
+++
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterMemBasedBrokerQueryKillingTest.java
@@ -69,8 +69,8 @@ public class OfflineClusterMemBasedBrokerQueryKillingTest
extends BaseClusterInt
private static final int NUM_BROKERS = 1;
private static final int NUM_SERVERS = 3;
private static final String OOM_QUERY =
- "SELECT PERCENTILETDigest(doubleDimSV1, 50) AS digest, intDimSV1 FROM
mytable GROUP BY intDimSV1"
- + " ORDER BY digest LIMIT 15000";
+ "SELECT PERCENTILETDigest(doubleDimSV1, 50) AS digest, intDimSV1 FROM
mytable WHERE intDimSV1 > 450000 GROUP BY"
+ + " intDimSV1 ORDER BY digest LIMIT 15000";
private static final String DIGEST_QUERY_1 =
"SELECT PERCENTILETDigest(doubleDimSV1, 50) AS digest FROM mytable";
@@ -153,6 +153,8 @@ public class OfflineClusterMemBasedBrokerQueryKillingTest
extends BaseClusterInt
+
CommonConstants.Accounting.CONFIG_OF_ALARMING_LEVEL_HEAP_USAGE_RATIO, 0.0f);
brokerConf.setProperty(CommonConstants.PINOT_QUERY_SCHEDULER_PREFIX + "."
+
CommonConstants.Accounting.CONFIG_OF_CRITICAL_LEVEL_HEAP_USAGE_RATIO, 0.40f);
+ brokerConf.setProperty(CommonConstants.PINOT_QUERY_SCHEDULER_PREFIX + "."
+ +
CommonConstants.Accounting.CONFIG_OF_MIN_MEMORY_FOOTPRINT_TO_KILL_RATIO,
0.0025f);
brokerConf.setProperty(CommonConstants.PINOT_QUERY_SCHEDULER_PREFIX + "."
+ CommonConstants.Accounting.CONFIG_OF_INSTANCE_TYPE,
InstanceType.BROKER);
brokerConf.setProperty(CommonConstants.PINOT_QUERY_SCHEDULER_PREFIX + "."
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]