This is an automated email from the ASF dual-hosted git repository.
snlee 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 dab27dc0fd [Flaky test] Fix ForwardIndexHandlerTest (#10018)
dab27dc0fd is described below
commit dab27dc0fd19421d6e8f36d3c3437123c9ddc17b
Author: Xiaotian (Jackie) Jiang <[email protected]>
AuthorDate: Wed Dec 21 07:59:40 2022 -0800
[Flaky test] Fix ForwardIndexHandlerTest (#10018)
---
.../segment/local/segment/index/loader/ForwardIndexHandlerTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/pinot-segment-local/src/test/java/org/apache/pinot/segment/local/segment/index/loader/ForwardIndexHandlerTest.java
b/pinot-segment-local/src/test/java/org/apache/pinot/segment/local/segment/index/loader/ForwardIndexHandlerTest.java
index e24de8930d..8e1faac4e3 100644
---
a/pinot-segment-local/src/test/java/org/apache/pinot/segment/local/segment/index/loader/ForwardIndexHandlerTest.java
+++
b/pinot-segment-local/src/test/java/org/apache/pinot/segment/local/segment/index/loader/ForwardIndexHandlerTest.java
@@ -386,7 +386,7 @@ public class ForwardIndexHandlerTest {
// Populate data for the MV columns with forward index disabled to have
unique entries per row.
// Avoid creating empty arrays.
- int numMVElements = random.nextInt(maxNumberOfMVEntries - 1) + 1;
+ int numMVElements = random.nextInt(maxNumberOfMVEntries) + 1;
for (int j = 0; j < numMVElements; j++) {
String str = "n" + i + j;
tempMVIntRowsForwardIndexDisabled[i][j] = j;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]