Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: run four nodes in acceptance tests #17324

Merged
merged 1 commit into from
Jul 31, 2017

Conversation

tbg
Copy link
Member

@tbg tbg commented Jul 31, 2017

This is required for

#17272

and merits a separate review.

@@ -268,8 +269,9 @@ upload-coverage: $(BOOTSTRAP_TARGET)
@build/upload-coverage.sh

.PHONY: acceptance
acceptance: TESTTIMEOUT := $(ACCEPTANCETIMEOUT)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

export TESTTIMEOUT := $(ACCEPTANCETIMEOUT) should do the same without the explicit env below!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@tbg tbg force-pushed the acceptance-4nodes branch from 8f57bb2 to b6d1e7b Compare July 31, 2017 16:51
@@ -10,4 +10,4 @@ set -euxo pipefail
mkdir -p artifacts/acceptance
export TMPDIR=$PWD/artifacts/acceptance

make test PKG=./pkg/acceptance TAGS=acceptance TESTFLAGS="${TESTFLAGS--v -nodes 3} -l $TMPDIR"
make test PKG=./pkg/acceptance TESTTIMEOUT="${TESTTIMEOUT-30m}" TAGS=acceptance TESTFLAGS="${TESTFLAGS--v -nodes 4} -l $TMPDIR"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be ${TESTTIMEOUT:-30m} (with the :)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you care about the case in which the variable is set but null? Anecdotally we're using - over :- in most places.

This is required for

cockroachdb#17272

and merits a separate review.
@tbg tbg force-pushed the acceptance-4nodes branch from b6d1e7b to cd4f85c Compare July 31, 2017 17:02
@CLAassistant
Copy link

CLAassistant commented Jul 31, 2017

CLA assistant check
All committers have signed the CLA.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@tbg tbg merged commit 8fcebb3 into cockroachdb:master Jul 31, 2017
@tbg tbg deleted the acceptance-4nodes branch July 31, 2017 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants