Thomas Tauber-Marshall has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/15174


Change subject: [rpc-test] fix flaky TestCancellation
......................................................................

[rpc-test] fix flaky TestCancellation

KUDU-3042 added a test case for the interaction between rpc
cancellation and rpc timeouts. This test was flaky as it assumed that
rpcs that are cancelled will return with an aborted status, which is
not always the case due to cancellation being best effort.

The fix is to make the test more persmissive by allowing the rpcs to
fail with either an aborted or a timed out status.

Change-Id: If140a9215c94d781c2c61ec30b18d2d67d80310a
---
M src/kudu/rpc/rpc-test-base.h
1 file changed, 3 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/74/15174/1
--
To view, visit http://gerrit.cloudera.org:8080/15174
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If140a9215c94d781c2c61ec30b18d2d67d80310a
Gerrit-Change-Number: 15174
Gerrit-PatchSet: 1
Gerrit-Owner: Thomas Tauber-Marshall <[email protected]>

Reply via email to