test(acceptance): give the B256 case a copy folder of its own

Every case of a run shares one root, and the pdfs copy case before it
had already made "copies" there, so the B256 case failed on its mkdir
with EEXIST before it checked anything.
This commit is contained in:
nvrl committed 2026-10-27 00:56:35 +01:00
1 parent 6f504d2e83
commit 42f3a18177
1 file changed
+3 -1
+3 -1
View File
@@ -787,7 +787,9 @@ def test_server_copy_never_copies_an_old_version(ctx: Context) -> None:
root = ctx.root root = ctx.root
path = root / "being-written.txt" path = root / "being-written.txt"
write_durable(path, b"first version") write_durable(path, b"first version")
dest = root / "copies" # Its own folder: every case of a run shares the root, and "pdfs copy"
# already made "copies" there.
dest = root / "b256-copies"
dest.mkdir() dest.mkdir()
daemon.wait_for_queue() daemon.wait_for_queue()