diff options
author | Nick Vatamaniuc <vatamane@apache.org> | 2020-01-08 17:38:59 -0500 |
---|---|---|
committer | Nick Vatamaniuc <nickva@users.noreply.github.com> | 2020-01-09 21:52:07 -0500 |
commit | 508d149959ed5cff55b0dd51fa01e82b02f8a908 (patch) | |
tree | 4f2e8cfe60aac4f576993be9583d3af4d7ef446e | |
parent | e23f3ef36e0fc9647cd6770bebad4504a4381128 (diff) | |
download | couchdb-508d149959ed5cff55b0dd51fa01e82b02f8a908.tar.gz |
Remove EUnit retries on failure
Since we switched from Travis to Jenkins, let's see how tests run without
retries in the new environment.
For reference, retries were introduced in: https://github.com/apache/couchdb/commit/220462a1dd2d921fc4ecba3488f5fedefb75217f
-rw-r--r-- | Makefile | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -173,16 +173,7 @@ eunit: export COUCHDB_TEST_ADMIN_PARTY_OVERRIDE=1 eunit: couch @COUCHDB_VERSION=$(COUCHDB_VERSION) COUCHDB_GIT_SHA=$(COUCHDB_GIT_SHA) $(REBAR) setup_eunit 2> /dev/null @for dir in $(subdirs); do \ - tries=0; \ - while true; do \ - COUCHDB_VERSION=$(COUCHDB_VERSION) COUCHDB_GIT_SHA=$(COUCHDB_GIT_SHA) $(REBAR) -r eunit $(EUNIT_OPTS) apps=$$dir ; \ - if [ $$? -eq 0 ]; then \ - break; \ - else \ - tries=$$((tries+1)); \ - [ $$tries -gt 2 ] && exit 1; \ - fi \ - done \ + COUCHDB_VERSION=$(COUCHDB_VERSION) COUCHDB_GIT_SHA=$(COUCHDB_GIT_SHA) $(REBAR) -r eunit $(EUNIT_OPTS) apps=$$dir || exit 1; \ done |