Skip to content

Commit 15ec2ad

Browse files
committed
auditloggingccl: fix TestReducedAuditConfig
Test started flaking due to pebble logs containing matching the regex used to assert that certain audit logs existed. Adds a more specific regex to assert found augit config logs. Fixes: #150140 Epic: None Release note: None
1 parent acd07c1 commit 15ec2ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/ccl/auditloggingccl/audit_logging_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ func TestReducedAuditConfig(t *testing.T) {
389389
0,
390390
math.MaxInt64,
391391
10000,
392-
regexp.MustCompile(stmt),
392+
regexp.MustCompile(`"Statement":"`+stmt),
393393
log.WithMarkedSensitiveData,
394394
)
395395

0 commit comments

Comments
 (0)