Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/20238 )
Change subject: [tests] Fix flakiness in TestAsyncKuduSession.java ...................................................................... [tests] Fix flakiness in TestAsyncKuduSession.java The test testFlushBySize within TestAsyncKuduSession.java has been flaky with a 39% failure rate for the last weeks. The main reason for the failure of this case is that the newly added unit test did not consider the impact of the cache. I have modified the relevant code of the unit test to verify that the newly added flush strategy is indeed effective by performing a large number of insert operations exceeding the number of cache buffers. Change-Id: Iadc61fcddb9ffbfe05ef398ba61c79f8063d72de Reviewed-on: http://gerrit.cloudera.org:8080/20238 Tested-by: Alexey Serbin <[email protected]> Reviewed-by: Alexey Serbin <[email protected]> --- M java/kudu-client/src/test/java/org/apache/kudu/client/TestAsyncKuduSession.java 1 file changed, 22 insertions(+), 13 deletions(-) Approvals: Alexey Serbin: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/20238 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Iadc61fcddb9ffbfe05ef398ba61c79f8063d72de Gerrit-Change-Number: 20238 Gerrit-PatchSet: 4 Gerrit-Owner: KeDeng <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Yingchun Lai <[email protected]>
