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

storage: improve TestSystemZoneConfigs #41119

Merged
merged 1 commit into from
Sep 27, 2019
Merged

Conversation

tbg
Copy link
Member

@tbg tbg commented Sep 26, 2019

The failure mode in #40980 didn't give out any actionable information.
It now prints the mismatching descriptors.

With this commit (and at this SHA) we see within a few minutes

make stress PKG=./pkg/storage/ TESTS=TestSystemZoneConfigs
--- FAIL: TestSystemZoneConfigs (61.72s)
    client_replica_test.go:1749: condition failed to evaluate within 45s: mismatch between
        r1:/{Min-System/NodeLiveness} [(n2,s2):8, (n7,s7):2, (n5,s5):3, (n6,s6):4, (n3,s3):6, next=9, gen=17]
        r1:/{Min-System/NodeLiveness} [(n1,s1):1, (n7,s7):2, (n5,s5):3, (n6,s6):4, (n3,s3):6, (n4,s4):7LEARNER, next=8, gen=12]

Release justification: testing-only improvement.

Release note: None

The failure mode in cockroachdb#40980 didn't give out any actionable information.
It now prints the mismatching descriptors.

Release justification: testing-only improvement.

Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@tbg
Copy link
Member Author

tbg commented Sep 27, 2019

bors r=danhhz

TC flake was being unable to contact github.com

craig bot pushed a commit that referenced this pull request Sep 27, 2019
41119: storage: improve TestSystemZoneConfigs r=danhhz a=tbg

The failure mode in #40980 didn't give out any actionable information.
It now prints the mismatching descriptors.

With this commit (and at this SHA) we see within a few minutes

```
make stress PKG=./pkg/storage/ TESTS=TestSystemZoneConfigs
--- FAIL: TestSystemZoneConfigs (61.72s)
    client_replica_test.go:1749: condition failed to evaluate within 45s: mismatch between
        r1:/{Min-System/NodeLiveness} [(n2,s2):8, (n7,s7):2, (n5,s5):3, (n6,s6):4, (n3,s3):6, next=9, gen=17]
        r1:/{Min-System/NodeLiveness} [(n1,s1):1, (n7,s7):2, (n5,s5):3, (n6,s6):4, (n3,s3):6, (n4,s4):7LEARNER, next=8, gen=12]
```

Release justification: testing-only improvement.

Release note: None

Co-authored-by: Tobias Schottdorf <tobias.schottdorf@gmail.com>
@craig
Copy link
Contributor

craig bot commented Sep 27, 2019

Build succeeded

@craig craig bot merged commit 03dfb39 into cockroachdb:master Sep 27, 2019
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.

3 participants