roachtest: Introduce RunBefore and RunAfter #99951
Labels
A-testing
Testing tools and infrastructure
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-testeng
TestEng Team
Today the test spec allows a writer to provide a single
Run
function, which ends up incorporating all the test setup and teardown activity.This is a proposal to add optional
RunBefore
andRunAfter
functions which would be invoked by the harness. It would allow for cleaner separation of setup and actual test code, allow us to further categorise errors by phase, and more accurately get a sense of how long a test actually takes.Jira issue: CRDB-26153
The text was updated successfully, but these errors were encountered: