From 14174b778003a53d7c75be02eae6487c45357cf3 Mon Sep 17 00:00:00 2001 From: Kobe Yang Date: Wed, 2 Aug 2017 16:20:07 -0700 Subject: [PATCH] Disable _TestSmartRetryDisableDuringDLQMerge --- Makefile | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 0bc646d9..112ab011 100644 --- a/Makefile +++ b/Makefile @@ -103,18 +103,14 @@ cover_profile: lint bins @echo "mode: atomic" > $(BUILD)/cover.out @echo Running integration tests: - @number=1 ; while [[ $$number -le 100 ]] ; do \ - echo Running times: $$number ; \ - time for dir in $(INTEG_TEST_DIRS); do \ - mkdir -p $(BUILD)/"$$dir"; \ - go test $(EMBED) "$$dir" $(TEST_ARG) $(GOCOVERPKG_ARG) -coverprofile=$(BUILD)/"$$dir"/coverage.out || exit 1; \ - cat $(BUILD)/"$$dir"/coverage.out | grep -v "mode: atomic" >> $(BUILD)/cover.out; \ - done ; \ - ((number = number + 1)) ; \ + @time for dir in $(INTEG_TEST_DIRS); do \ + mkdir -p $(BUILD)/"$$dir"; \ + go test $(EMBED) "$$dir" $(TEST_ARG) $(GOCOVERPKG_ARG) -coverprofile=$(BUILD)/"$$dir"/coverage.out || exit 1; \ + cat $(BUILD)/"$$dir"/coverage.out | grep -v "mode: atomic" >> $(BUILD)/cover.out; \ done -# @echo Running tests: -# @time for dir in $(PKG_TEST_DIRS); do \ + @echo Running tests: + @time for dir in $(PKG_TEST_DIRS); do \ mkdir -p $(BUILD)/"$$dir"; \ go test $(EMBED) "$$dir" $(TEST_ARG) -coverprofile=$(BUILD)/"$$dir"/coverage.out || exit 1; \ cat $(BUILD)/"$$dir"/coverage.out | grep -v "mode: atomic" >> $(BUILD)/cover.out; \