leil-io / saunafs

SaunaFS is a free-and open source, distributed POSIX file system inspired by Google File System.
https://saunafs.com
GNU General Public License v3.0
62 stars 5 forks source link

test: Apply multiplier regardless if Valgrind enabled or not #209

Closed uristdwarf closed 1 month ago

uristdwarf commented 1 month ago

Some functions were only applying the multiplier if Valgrind was enabled. This fixes that by ensuring it's applied regardless of that

It also applies the multiplier to the default timeout of 15 seconds in assert functions, with it being adjustable through an environment variable.

uristdwarf commented 1 month ago

Should fix the pread random test failures in CI