This is an automated email from the ASF dual-hosted git repository.
xiangfu 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 f57648428c Adding more debug logs in BaseClusterIntegrationTestSet
testReload method (#14269)
f57648428c is described below
commit f57648428c48a36b3b43afc7620e2881c5522f6b
Author: Xiang Fu <[email protected]>
AuthorDate: Tue Oct 22 07:50:04 2024 +0800
Adding more debug logs in BaseClusterIntegrationTestSet testReload method
(#14269)
---
.../pinot/integration/tests/BaseClusterIntegrationTestSet.java | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/BaseClusterIntegrationTestSet.java
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/BaseClusterIntegrationTestSet.java
index ca27ed4ef4..e92f08f97e 100644
---
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/BaseClusterIntegrationTestSet.java
+++
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/BaseClusterIntegrationTestSet.java
@@ -770,9 +770,12 @@ public abstract class BaseClusterIntegrationTestSet
extends BaseClusterIntegrati
try {
JsonNode testQueryResponse = postQuery(testQuery);
// Should not throw exception during reload
- assertEquals(testQueryResponse.get("exceptions").size(), 0);
+ assertEquals(testQueryResponse.get("exceptions").size(), 0,
+ String.format("Found exceptions when testing reload for query: %s
and response: %s", testQuery,
+ testQueryResponse));
// Total docs should not change during reload
- assertEquals(testQueryResponse.get("totalDocs").asLong(),
numTotalDocs);
+ assertEquals(testQueryResponse.get("totalDocs").asLong(), numTotalDocs,
+ String.format("Total docs changed after reload, query: %s and
response: %s", testQuery, testQueryResponse));
return
testQueryResponse.get("resultTable").get("rows").get(0).get(0).asLong() ==
countStarResult;
} catch (Exception e) {
throw new RuntimeException(e);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]