[tahoe-lafs-trac-stream] [Tahoe-LAFS] #4044: allmydata.test.web.test_webish.TahoeLAFSSiteTests.test_large_request fails sometimes
Tahoe-LAFS
trac at tahoe-lafs.org
Fri Jul 7 20:07:57 UTC 2023
#4044: allmydata.test.web.test_webish.TahoeLAFSSiteTests.test_large_request fails
sometimes
-------------------------+-----------------------
Reporter: exarkun | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: n/a
Resolution: | Keywords:
Launchpad Bug: |
-------------------------+-----------------------
Description changed by exarkun:
Old description:
> This unit test relies on removing permissions from a directory to result
> in an error from the platform to tell it that the code under test is
> operating as expected. This comes with a multi-paragraph comment to
> explain the weirdness.
>
> Instead of all this, let's just change the interface of WebishServer so
> it is easy to test.
New description:
This unit test relies on removing permissions from a directory to result
in an error from the platform to tell it that the code under test is
operating as expected. This comes with a multi-paragraph comment to
explain the weirdness.
Also, since permissions don't work like this on Windows, there's a branch
in the test for the runtime platform.
Then, even not on Windows, permissions don't work like this if the process
has extra privileges, so the test fails sometimes.
Instead of all this, let's just change the interface of WebishServer so it
is easy to test.
--
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/4044#comment:1>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list