forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvnemesis: write debug files using DebuggableTempDir
Previously, kvnemesis used os.TempDir() to write the various debug files (including the repro steps) to a temp dir. When the test failed on EngFlow, the temp dir was not included in output.zip, which made tests hard to investigate. This patch uses datapathutils.DebuggableTempDir() instead. If the test is running locally, the behavior is the same as os.TempDir(). If the test is running remotely, it will write the debug files to TEST_UNDECLARED_OUTPUTS_DIR and Bazel will package them up into outputs.zip. Informs: cockroachdb#118005 Release note: None
- Loading branch information
1 parent
dc7c41a
commit 4e746f3
Showing
3 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters