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

auditloggingccl: fix TestRoleBasedAuditEnterpriseGated #105766

Merged

Conversation

THardy98
Copy link

@THardy98 THardy98 commented Jun 28, 2023

Resolves: #105749

Prior to this change, this test could flake when stressed due to unrelated running queries (i.e. outside of this test) getting caught in the audit logs. This change makes the regexp log filter more specific to ensure that the number of expected logs for a particular statement is as expected.

Release note: None

@THardy98 THardy98 added the backport-23.1.x Flags PRs that need to be backported to 23.1 label Jun 28, 2023
@THardy98 THardy98 requested a review from a team June 28, 2023 21:49
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Resolves: cockroachdb#105749

Prior to this change, this test could flake when stressed due to
unrelated running queries (i.e. outside of this test)  getting caught in
the audit logs.  This change makes the regexp log filter more specific
to ensure that the number of expected logs for a particular statement is
as expected.

Release note: None
@THardy98 THardy98 force-pushed the fix_TestRoleBasedAuditEnterpriseGated branch from a059a03 to 67b43a8 Compare June 28, 2023 21:49
@THardy98
Copy link
Author

Passes with stress on >5k runs

Copy link
Contributor

@gtr gtr 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 r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @THardy98)

@THardy98
Copy link
Author

bors r+

@craig
Copy link
Contributor

craig bot commented Jun 29, 2023

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-23.1.x Flags PRs that need to be backported to 23.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

auditloggingccl: TestRoleBasedAuditEnterpriseGated is flaky
3 participants