diff options
| author | Jakob Unterwurzacher | 2023-06-09 14:35:04 +0200 |
|---|---|---|
| committer | Jakob Unterwurzacher | 2026-07-16 22:07:54 +0200 |
| commit | df552e13cd388d79c3e95ba78fb13ff927a0429b (patch) | |
| tree | 59e126c720cb588c404a9e148a09b81b511813e0 /tests/stress_tests/pingpong-rsync.bash | |
| parent | 2a2f0b376bbd0fc1f737c79cd2e2aab7749a5c6b (diff) | |
tests/cluster: enable TestClusterConcurrentRW per default
Add the -sharedstorage flag to the mounts and make it more
severe by adjusting the I/O and file sizes to arbitrary unaligned
values.
It passes *most of the time*.
If it fails, it's like this, and the reason is that there is no
fcntl locks in the READ path yet.
gocryptfs/tests/cluster$ go test -run TestClusterConcurrentRW -v
=== RUN TestClusterConcurrentRW
doRead 2895433: corrupt block #0: cipher: message authentication failed
doRead 2895433: corrupt block #0: cipher: message authentication failed
doRead 2895433: corrupt block #0: cipher: message authentication failed
cluster_test.go:98: readThread iteration 9165: ReadAt failed: read /var/tmp/gocryptfs-test-parent-1026/3021427391/TestClusterConcurrentRW.366469887.mnt1/foo: input/output error
--- FAIL: TestClusterConcurrentRW (0.40s)
FAIL
exit status 1
FAIL github.com/rfjakob/gocryptfs/v2/tests/cluster 0.406s
Diffstat (limited to 'tests/stress_tests/pingpong-rsync.bash')
0 files changed, 0 insertions, 0 deletions
