[ https://issues.apache.org/jira/browse/KUDU-3170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17162711#comment-17162711 ]
ASF subversion and git services commented on KUDU-3170: ------------------------------------------------------- Commit fd381f19f3bee14a25962f67f3bf3e6188d78af0 in kudu's branch refs/heads/master from Andrew Wong [ https://gitbox.apache.org/repos/asf?p=kudu.git;h=fd381f1 ] KUDU-3170: deflake testSlowWriterDoesntBlockQueues Previously the test would block the writer thread for 1s, expect a timeout to happen within 1s, and check that the slow writer still allowed for the outbound queue to be inserted to. This led to some flakiness, as the first write may have sometimes completed within 1s and allowed the second request to leave the outbound queue and begin writing. This patch addresses this by extending the time with which we block writes to extend past the execution deadline. Without this patch, we saw frequent failures in ARM runs of the test, and I saw 4/400 failures in dist-test. With the patch, the test passed in dist-test 1600/1600 times. Change-Id: I8b322782630b3ef935fb0264b6195d2ed72cc58c Reviewed-on: http://gerrit.cloudera.org:8080/16221 Reviewed-by: Grant Henke <granthe...@apache.org> Tested-by: Andrew Wong <aw...@cloudera.com> > testSlowWriterDoesntBlockQueues is flaky in the ARM builds > ---------------------------------------------------------- > > Key: KUDU-3170 > URL: https://issues.apache.org/jira/browse/KUDU-3170 > Project: Kudu > Issue Type: Bug > Reporter: Grant Henke > Assignee: Andrew Wong > Priority: Major > > It looks like testSlowWriterDoesntBlockQueues is flaky in the ARM builds. It > has failed with the below in a few recent runs: > {code} > org.apache.kudu.subprocess.echo.TestEchoSubprocess > > testSlowWriterDoesntBlockQueues FAILED java.lang.AssertionError: expected:<1> > but was:<0> at org.junit.Assert.fail(Assert.java:89) at > org.junit.Assert.failNotEquals(Assert.java:835) at > org.junit.Assert.assertEquals(Assert.java:647) at > org.junit.Assert.assertEquals(Assert.java:633) at > org.apache.kudu.subprocess.echo.TestEchoSubprocess.testSlowWriterDoesntBlockQueues(TestEchoSubprocess.java:291) > {code} > * > https://logs.openlabtesting.org/logs/periodic-kudu-mail/github.com/apache/kudu/master/kudu-build-test-arm64-in-docker/20ae949/ > * > https://logs.openlabtesting.org/logs/periodic-kudu-mail/github.com/apache/kudu/master/kudu-build-test-arm64-in-docker/87eac39/ -- This message was sent by Atlassian Jira (v8.3.4#803005)