-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
release-23.1: roachtest: expand tag functionality to allow filtering by conjunctive… #111137
release-23.1: roachtest: expand tag functionality to allow filtering by conjunctive… #111137
Conversation
… tags. Today, tests are matched if they have any-of the specified tags. This patch introduces the ability to also match tests which have "all-of" specified tags, along with tag negation. This example will list all tests tagged with "aws" or with both "weekly" and "owner-test-eng" tags: "roachtest list tag:aws tag:weekly,owner-test-eng" An example of tag negation which would list all of the tests with tag "weekly" but not "aws": "roachtest list tag:weekly,!aws" Epic: none Fixes: cockroachdb#96655 Release note: None
…t" and "aws" tagged tests are run See cockroachdb#100605
Thanks for opening a backport. Please check the backport criteria before merging:
If some of the basic criteria cannot be satisfied, ensure that the exceptional criteria are satisfied within.
Add a brief release justification to the body of your PR to justify this backport. Some other things to consider:
|
726e1e8
to
68d3002
Compare
68d3002
to
457fede
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Lots of changes, but they are small; it would help to have another pair of eyes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you!
TFTRs! |
Backport 4/4 commits from #99402.
/cc @cockroachdb/release
Release justification: test-only change, keep roachtest in sync
… tags.
oday, tests are matched if they have any of the specified tags. This patch introduces the ability to match tests which have all specified tags, whilst attempting to maintain backward compatibility.
Commits
1 - expand tag filtering (AND, !)
2 - convert
TestSpec.Tags
tomap[string]struct{}
3 - suppress TeamCity log statement
Epic: none
Fixes: #96655
Release note: None