Andrew Wong has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/11374


Change subject: build: retry failed tests by default
......................................................................

build: retry failed tests by default

Previously, the option KUDU_FLAKY_TEST_ATTEMPTS, would either pull the list
of flaky tests from the test server and retry those tests, or retry all flaky
tests if specified by the user.

This patch updates the unit test run logic to retry tests all tests.
Now, the flaky test list will only be used to specify which tests to
run, e.g. if RUN_FLAKY_ONLY is set.

I tested this locally by running run-test.sh with a dummy failed test,
setting KUDU_FLAKY_TEST_ATTEMPTS to a couple different values.

I made the appropriate change for dist_test as well; a run with
KUDU_FLAKY_TEST_ATTEMPTS=3:
http://dist-test.cloudera.org/job?job_id=awong.1535741607.141999

One with KUDU_FLAKY_TEST_ATTEMPTS=1:
http://dist-test.cloudera.org/job?job_id=awong.1535741550.141639

Change-Id: I6fc069527d6f2553a4e04e14c821090f826cbc0a
---
M build-support/dist_test.py
M build-support/jenkins/build-and-test.sh
M build-support/run-test.sh
3 files changed, 13 insertions(+), 60 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6fc069527d6f2553a4e04e14c821090f826cbc0a
Gerrit-Change-Number: 11374
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Wong <[email protected]>

Reply via email to