libfuse/test
Bernd Schubert 31bf17c744
Fix tests/test_write_cache in write back mode (#892)
This test could fail whenever a something (kernel, userspace) decides
to flush in between of two 2048B writes. These two writes are supposed
to be merged into a single 4906 byte write by the kernel writeback cache,
but _sometimes_ the test fails because 2048 byte writes get through.
Fixes #882

Solution here is a modification how the test works - instead
of requiring an exact aggregation of 2x2048B into 4096B,
it now writes 64x2048B and requires in write-back modes
the number of received writes requests is lower than 64 - we
can expect that at least some writes get aggregated, but we do
know how many.

Co-authored-by: Bernd Schubert <bschubert@ddn.com>
2024-02-26 19:09:00 +01:00
..
.gitignore Added write cache tests. 2016-10-10 11:07:38 -07:00
ci-build.sh Fix meson deprecation warning 2023-04-07 14:01:16 +01:00
ci-install.sh Migrate away from deprecated distutils 2023-04-11 13:32:00 +01:00
conftest.py Fix deprecated @pytest.mark.hookwrapper 2023-04-07 15:31:58 +01:00
lsan_suppress.txt Disable leak suppression (#773) 2023-04-12 08:40:18 +01:00
meson.build Fix issue #746. (#782) 2023-05-11 02:38:46 +01:00
pytest.ini Update Travis to Ubuntu Bionic 2020-09-12 09:28:27 +01:00
readdir_inode.c Fix returning d_ino and d_type by readdir(3) in non-plus mode 2021-03-18 09:52:30 +00:00
release_unlink_race.c Fix issue #746. (#782) 2023-05-11 02:38:46 +01:00
stracedecode.c libfuse: add readdirplus support in fuse_lowlevel_ops 2013-02-07 14:58:50 +01:00
test_ctests.py Migrate away from deprecated distutils 2023-04-11 13:32:00 +01:00
test_custom_io.py Support application-defined I/O functions for FUSE fd 2023-01-10 10:04:35 +00:00
test_examples.py make FUSE_CAP_EXPIRE_ONLY test depend on available cap and not on version 2024-01-29 08:43:58 +00:00
test_setattr.c Install a the configure_file (config.h) and use in headers 2023-01-28 09:35:34 +00:00
test_syscalls.c Install a the configure_file (config.h) and use in headers 2023-01-28 09:35:34 +00:00
test_write_cache.c Fix tests/test_write_cache in write back mode (#892) 2024-02-26 19:09:00 +01:00
util.py Fix PytestReturnNotNoneWarning 2023-04-07 15:31:58 +01:00
wrong_command.c Do not fail "ninja test" when running as subproject 2018-10-19 14:17:48 -07:00