klsince opened a new pull request, #9799:
URL: https://github.com/apache/pinot/pull/9799
Got flaky UT as random.nextInt(500) can return 0 or 1, which would lead to
this exception in following logic.
```
Error:
org.apache.pinot.segment.local.segment.index.loader.ForwardIndexHandlerTest.setUp
Time elapsed: 0.058 s <<< FAILURE!
java.lang.IllegalArgumentException: bound must be positive
at java.base/java.util.Random.nextInt(Random.java:388)
at
org.apache.pinot.segment.local.segment.index.loader.ForwardIndexHandlerTest.createTestData(ForwardIndexHandlerTest.java:317)
at
org.apache.pinot.segment.local.segment.index.loader.ForwardIndexHandlerTest.buildSegment(ForwardIndexHandlerTest.java:184)
at
org.apache.pinot.segment.local.segment.index.loader.ForwardIndexHandlerTest.setUp(ForwardIndexHandlerTest.java:173)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]