-
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.
storageccl: fix and reenable BenchmarkTimeBoundIterate
This benchmark creates a `mvcc_data` directory in the current working dir (i.e. `pkg/ccl/storageccl/engineccl`) and reuses it if exists. Normally this would not be permitted in CI; but `mvcc_data` is in `.gitignore` so it doesn't trip the "assert workspace clean" CI step. The leftover `mvcc_data` can be from an older version, which can cause mysterious CI failures. This fix changes to generating the data in a temporary directory and cleans it up afterwards. The generation only takes a few seconds (significantly less than what it takes to run all benchmarks). Release note: None Epic: none
- Loading branch information
1 parent
7ee61fb
commit e68c5d6
Showing
2 changed files
with
42 additions
and
39 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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