Skip to content
Snippets Groups Projects
Commit 3e73b755 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Try to fix flaky `temp-base-path-work` test (#13505)


* Try to fix flaky `temp-base-path-work` test

The test is most of the time failing when checking if the database path was deleted. The assumption
is that it takes a little bit more time by the OS to actually clean up the temp path under high
load. The pr tries to fix this by checking multiple times if the path was deleted. Besides that it
also ensures that the tests that require the benchmark feature don't fail when compiled without the feature.

* ".git/.scripts/commands/fmt/fmt.sh"

* Capture signals earlier

* Rewrite tests to let them having one big timeout

* Remove unneeded dep

* Update bin/node/cli/tests/common.rs

Co-authored-by: default avatarKoute <koute@users.noreply.github.com>

* Review feedback

* Update bin/node/cli/tests/common.rs

Co-authored-by: default avatarAnton <anton.kalyaev@gmail.com>

---------

Co-authored-by: command-bot <>
Co-authored-by: default avatarKoute <koute@users.noreply.github.com>
Co-authored-by: default avatarAnton <anton.kalyaev@gmail.com>
parent 3708b156
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment