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

Commit

Permalink
[FAB-10374] add more flags to ginkgo runs
Browse files Browse the repository at this point in the history
 - add noColor to avoid color codes cluttering jenkins build logs
 - add randomizeAllSpecs to avoid unintended dependencies between tests

Change-Id: Id05a73569a8d541afb22a8ab122392defb6a8724
Signed-off-by: Morgan Bauer <mbauer@us.ibm.com>
  • Loading branch information
MHBauer authored and mastersingh24 committed Oct 29, 2018
1 parent 50743b7 commit 2dcd448
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ gotools: gotools-install

unit-test: $(PROJECT_FILES) gotool.ginkgo
@echo "Running unit-tests"
@ginkgo -r -keepGoing -race -tags "$(GO_TAGS)" $(PACKAGES)
@ginkgo -r -randomizeAllSpecs -noColor -keepGoing -race -tags "$(GO_TAGS)" $(PACKAGES)

unit-tests: unit-test

Expand Down
2 changes: 1 addition & 1 deletion scripts/run-integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ main() {
popd

echo "Running integration tests..."
ginkgo -race -keepGoing --slowSpecThreshold 80 -r "${dirs[@]}"
ginkgo -noColor -randomizeAllSpecs -race -keepGoing --slowSpecThreshold 80 -r "${dirs[@]}"
}

main "$@"

0 comments on commit 2dcd448

Please # to comment.