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

*: assorted test fixes (continued) #100483

Merged
merged 7 commits into from
Apr 3, 2023

Conversation

knz
Copy link
Contributor

@knz knz commented Apr 3, 2023

Informs #100477.
Includes #100490.
Rebased on top of #100487.

Epic: CRDB-28893

@knz knz requested a review from a team as a code owner April 3, 2023 16:00
@knz knz requested a review from rharding6373 April 3, 2023 16:00
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@knz
Copy link
Contributor Author

knz commented Apr 3, 2023

TFYR!

bors r=stevendanna

@knz
Copy link
Contributor Author

knz commented Apr 3, 2023

oops

bors r-

@craig
Copy link
Contributor

craig bot commented Apr 3, 2023

Canceled.

@knz knz force-pushed the 20230403-improve-import-failures branch from a7301e5 to a4fb87e Compare April 3, 2023 17:30
@knz knz requested a review from a team as a code owner April 3, 2023 17:30
@knz knz requested a review from a team April 3, 2023 17:30
@knz knz requested a review from a team as a code owner April 3, 2023 17:30
@knz knz changed the title importer: improve the quality of error message for tests importer: improve the quality of error message for tests + add skip Apr 3, 2023
@knz
Copy link
Contributor Author

knz commented Apr 3, 2023

bors r=stevendanna

@knz knz force-pushed the 20230403-improve-import-failures branch from a4fb87e to 74b16d2 Compare April 3, 2023 17:35
@craig
Copy link
Contributor

craig bot commented Apr 3, 2023

Canceled.

@knz
Copy link
Contributor Author

knz commented Apr 3, 2023

bors r=stevendanna

@knz
Copy link
Contributor Author

knz commented Apr 3, 2023

bors r-

@craig
Copy link
Contributor

craig bot commented Apr 3, 2023

Canceled.

@knz knz changed the title importer: improve the quality of error message for tests + add skip *: assorted test fixes (continued) Apr 3, 2023
knz and others added 5 commits April 3, 2023 19:39
Prior to this change, the tests were calling `t.Fatal` on the wrong
`testing.T` reference, causing the details to be obscured like this:

```
    testing.go:1343: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test
```

This patch improves this and hopefully will reveal better causes for
test failures.

Release note: None
@knz knz force-pushed the 20230403-improve-import-failures branch from 74b16d2 to 1351c88 Compare April 3, 2023 17:39
@knz
Copy link
Contributor Author

knz commented Apr 3, 2023

bors r=stevendanna p=99 single on

@craig
Copy link
Contributor

craig bot commented Apr 3, 2023

Build failed:

@knz knz requested review from a team as code owners April 3, 2023 17:54
@knz knz requested review from herkolategan and smg260 and removed request for a team April 3, 2023 17:54
@knz
Copy link
Contributor Author

knz commented Apr 3, 2023

bors r=stevendanna p=99 single on

@craig
Copy link
Contributor

craig bot commented Apr 3, 2023

Build succeeded:

@craig craig bot merged commit 3e452a4 into cockroachdb:master Apr 3, 2023
@knz knz deleted the 20230403-improve-import-failures branch April 3, 2023 19:01
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.

4 participants