Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Commit

Permalink
Disable _TestSmartRetryDisableDuringDLQMerge
Browse files Browse the repository at this point in the history
  • Loading branch information
kobeyang committed Aug 7, 2017
1 parent 091cba4 commit 14174b7
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit 14174b7

Please sign in to comment.