-
Notifications
You must be signed in to change notification settings - Fork 4.1k
scheduledlogging: TestCaptureIndexUsageStats is unreasonably long to run #87772
Copy link
Copy link
Closed
Labels
A-sql-logging-and-telemetryIssues related to slow query log, SQL audit log, SQL internal logging telemetry, etc.Issues related to slow query log, SQL audit log, SQL internal logging telemetry, etc.A-testingTesting tools and infrastructureTesting tools and infrastructureC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Description
Describe the problem
This test goes through 4 iterations of waiting for 20 seconds each time for something to happen.
This is abnormally long for a unit test, and is not even necessary.
Expected behavior
The test can be modified to run under 10 seconds in total.
Jira issue: CRDB-19525
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-sql-logging-and-telemetryIssues related to slow query log, SQL audit log, SQL internal logging telemetry, etc.Issues related to slow query log, SQL audit log, SQL internal logging telemetry, etc.A-testingTesting tools and infrastructureTesting tools and infrastructureC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.