-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
30146: roachtest: use separate log dirs for separate runs r=andreimatei a=andreimatei Before this patch, roachtest run --count <n> would overwrite the logs dirs n times (in fact I think it was technically worse - there's one dir per node and inside there non-unique file would be overwritten and otherwise stale files would be left from the run the produced it). This patch moves to unique dirs per run, and otherwise rationalizes the code around the log and artifact locations. Each top level tests gets different dirs for the different runs. If `--count` is not specified, nothing changes. After this patch, when running: roachtest run clock acceptance/event-log acceptance/status-server --count=2 you get the following tree structure. artifacts ├── acceptance │ ├── run_1 │ │ ├── event-log │ │ ├── status-server │ ├── run_2 │ │ ├── event-log │ │ ├── status-server └── clock ├── run_1 │ ├── jump │ │ ├── large_backward_disabled │ │ ├── large_backward_enabled └── run_2 │ ├── large_backward_disabled ├── jump │ ├── large_backward_disabled │ ├── large_forward_enabled When --count is not specified, nothing changes. Release note: None Co-authored-by: Andrei Matei <[email protected]>
- Loading branch information
Showing
4 changed files
with
124 additions
and
45 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
Oops, something went wrong.