test: use 100 MB shm segments in all shmem tests

- The shmem default segment is 2 GiB, and Boost reserves it with
  posix_fallocate, so each test takes 2 GiB of /dev/shm
- Parallel test runs then exhaust /dev/shm and segment creation
  fails with "No space left on device"
- Set --shm-segment-size 100000000 like the other tests already do

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-11-03 15:27:48 +00:00
committed by Dennis Klein
parent c506758d2f
commit 3077d1c0ab
5 changed files with 7 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ class BadDevice : public Device
EXPECT_THROW(RunStateMachine(), MessageError);
});
GetConfig()->SetProperty<size_t>("shm-segment-size", 100000000);
SetTransport("shmem");
ChangeStateOrThrow(Transition::InitDevice);