From 6d0a7f8f22405c1881e9fe2a022592992626ca9e Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Tue, 5 May 2020 10:27:28 -0400 Subject: [PATCH] Skip the large-file test on Windows No one is going to run a storage server on Windows anyway --- src/_zkapauthorizer/tests/test_storage_protocol.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/_zkapauthorizer/tests/test_storage_protocol.py b/src/_zkapauthorizer/tests/test_storage_protocol.py index c4d9d84..ea5c71c 100644 --- a/src/_zkapauthorizer/tests/test_storage_protocol.py +++ b/src/_zkapauthorizer/tests/test_storage_protocol.py @@ -440,6 +440,7 @@ class ShareTests(TestCase): ), ) + @skipIf(platform.isWindows(), "Creating large files on Windows (no sparse files) is too slow") @given( storage_index=storage_indexes(), sharenum=sharenums(), @@ -629,7 +630,7 @@ class ShareTests(TestCase): ) def test_create_mutable(self, storage_index, secrets, test_and_write_vectors_for_shares): """ - Mutable share data written using *slot_testv_and_readv_and_writev* can be + Mutable share data written using *slot_testv_and_readv_abbnd_writev* can be read back as-written and without spending any more passes. """ # Hypothesis causes our storage server to be used many times. Clean -- GitLab