Skip to content

dev: a couple testlogic improvements#85321

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
rickystewart:devtestlogicfixes
Jul 30, 2022
Merged

dev: a couple testlogic improvements#85321
craig[bot] merged 1 commit intocockroachdb:masterfrom
rickystewart:devtestlogicfixes

Conversation

@rickystewart
Copy link
Copy Markdown
Collaborator

  1. Make sure dev generate testlogic is documented in
    dev generate -h.
  2. Only default to running the sqlite logic tests if --bigtest is
    passed.
  3. If a --config is passed, check whether the directory exists before
    running the test. This fixes cases like
    dev testlogic --config=local-mixed-21.2-22.1 where not all logic
    test categories support the config.
  4. Warn if no test directories are found.

Release note: None

@rickystewart rickystewart requested a review from rail July 29, 2022 15:27
@rickystewart rickystewart requested a review from a team as a code owner July 29, 2022 15:27
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@rickystewart
Copy link
Copy Markdown
Collaborator Author

Only the second commit needs to be reviewed, the first is from #85284.

Copy link
Copy Markdown
Member

@rail rail 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 2 files at r1, 3 of 3 files at r2, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @rickystewart)

1. Make sure `dev generate testlogic` is documented in
   `dev generate -h`.
2. Only default to running the sqlite logic tests if `--bigtest` is
   passed.
3. If a `--config` is passed, check whether the directory exists before
   running the test. This fixes cases like
   `dev testlogic --config=local-mixed-21.2-22.1` where not all logic
   test categories support the config.
4. Warn if no test directories are found.

Release note: None
@rickystewart
Copy link
Copy Markdown
Collaborator Author

bors r=rail

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jul 29, 2022

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jul 30, 2022

Build succeeded:

@craig craig bot merged commit 25d5253 into cockroachdb:master Jul 30, 2022
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