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

roachtest: fail tpcdsvec test with an error #47974

Merged
merged 1 commit into from
Apr 28, 2020

Conversation

yuzefovich
Copy link
Member

@yuzefovich yuzefovich commented Apr 23, 2020

In tpcdsvec test we run all the queries even we hit an error.
Previously if an error occurred, we would just fail the test, and now we
will be failing with an error that is a "combination" of all occurred
errors.

Addresses: #47889.

Release note: None

@yuzefovich yuzefovich requested review from asubiotto and a team April 23, 2020 14:37
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@asubiotto asubiotto left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @asubiotto and @yuzefovich)


pkg/cmd/roachtest/tpcdsvec.go, line 202 at r1 (raw file):

		}
		if lastErr != nil {
			t.Fatal(lastErr)

Can we somehow accumulate errors and display them all?

In `tpcdsvec` test we run all the queries even we hit an error.
Previously if an error occurred, we would just fail the test, and now we
will be failing with an error that is a "combination" of all occurred
errors.

Release note: None
Copy link
Member Author

@yuzefovich yuzefovich left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @asubiotto)


pkg/cmd/roachtest/tpcdsvec.go, line 202 at r1 (raw file):

Previously, asubiotto (Alfonso Subiotto Marqués) wrote…

Can we somehow accumulate errors and display them all?

Done.

@blathers-crl
Copy link

blathers-crl bot commented Apr 27, 2020

❌ The GitHub CI (Cockroach) build has failed on c0a483de.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan.

Copy link
Contributor

@asubiotto asubiotto left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r2.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@yuzefovich
Copy link
Member Author

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented Apr 28, 2020

Build succeeded

@craig craig bot merged commit 211abed into cockroachdb:master Apr 28, 2020
@yuzefovich yuzefovich deleted the tpcdsvec branch April 28, 2020 14:56
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