diff options
author | Martin Leitner-Ankerl <martin.ankerl@gmail.com> | 2021-11-04 18:46:57 +0100 |
---|---|---|
committer | Martin Leitner-Ankerl <martin.ankerl@gmail.com> | 2021-11-04 18:47:14 +0100 |
commit | a04350b86c14a8038117aa013952b4e2b5f91cb0 (patch) | |
tree | 4769a594918cdd18073ad58280f0cacfd1de0fec /ci/lint/06_script.sh | |
parent | 24abd8312ec1caa04f9b3bd92cd960e28ca91e17 (diff) | |
download | bitcoin-a04350b86c14a8038117aa013952b4e2b5f91cb0.tar.xz |
Open streams_test_tmp file in temporary folder
The tests `streams_tests/streams_buffered_file` and `streams_tests/streams_buffered_file_rand`
did not use a the temporary directory provided by `BasicTestingSetup`, so it was not possible
to execute multiple of them in parallel. This fixes that.
To reproduce, run
```sh
parallel --halt now,fail=1 './src/test/test_bitcoin --run_test=streams_tests/streams_buffered_file_rand' -- ::: {1..1000}
```
This executes the test 1000 times, one job per CPU. It works on that commit but mergebase fails quickly.
Diffstat (limited to 'ci/lint/06_script.sh')
0 files changed, 0 insertions, 0 deletions