Itamar Turner-Trauring
41ec63f758
Passing first tests.
2021-11-16 10:56:21 -05:00
Itamar Turner-Trauring
c101dd4dc9
Closer to first passing test.
2021-11-12 13:13:19 -05:00
Itamar Turner-Trauring
12cbf8a901
First sketch of HTTP testing infrastructure.
2021-11-12 13:03:53 -05:00
Itamar Turner-Trauring
ddd2780bd2
First sketch of HTTP client.
2021-11-12 12:51:52 -05:00
Itamar Turner-Trauring
a32c6be978
A sketch of what the HTTP server will look like.
2021-11-12 12:02:58 -05:00
Jean-Paul Calderone
07ffde3bec
Merge pull request #1158 from tahoe-lafs/3838.more-main-tub-cleanup
...
More "main tub" initialization cleanup in test code
Fixes: ticket:3838
2021-11-05 11:13:23 -04:00
Jean-Paul Calderone
780be2691b
assign a tub.port to all system test nodes
2021-11-03 16:11:28 -04:00
Jean-Paul Calderone
5caa80fe38
use UseNode more in test_client.py
...
Also make write_introducer more lenient about filesystem state
2021-11-03 16:11:08 -04:00
Jean-Paul Calderone
5a71774bf8
use port assigner and UseNode more in test_node.py
2021-11-03 16:10:32 -04:00
Jean-Paul Calderone
31649890ef
Teach UseNode to use a port assigner for tub.port
...
Then use it to assign ports for tub.port unless the caller supplied their own
value.
2021-11-03 16:08:08 -04:00
Jean-Paul Calderone
797e099459
make create_introducer_webish assign a main tub port
2021-11-03 16:05:28 -04:00
Jean-Paul Calderone
7335b2a597
remove unused import
2021-11-03 13:16:15 -04:00
Jean-Paul Calderone
8e150cce6a
add explicit direct tests for the new methods
2021-11-03 13:14:55 -04:00
Jean-Paul Calderone
70a7500c56
Merge remote-tracking branch 'origin/master' into 3834.renew_secret_comparison_helper
2021-11-03 13:05:41 -04:00
Jean-Paul Calderone
e8ed711d26
Merge remote-tracking branch 'origin/master' into 3833.container-format-abstraction
2021-11-03 12:25:38 -04:00
Jean-Paul Calderone
5bfe6d5b24
Merge pull request #1156 from tahoe-lafs/3836.systemtests-introducer-main-tub-port
...
Use the "port assigner" helper on the introducer main tub in SystemTestsMixin
Fixes: 3836
2021-11-03 12:25:09 -04:00
Jean-Paul Calderone
39c4a2c4eb
tidy up some corners
2021-11-02 15:10:54 -04:00
Jean-Paul Calderone
0856218a89
Merge remote-tracking branch 'origin/master' into 3833.container-format-abstraction
2021-10-30 07:35:50 -04:00
Jean-Paul Calderone
892b468365
use the port assigner to assign a port for the main tub
2021-10-29 09:03:37 -04:00
Jean-Paul Calderone
ff511bbcf2
Merge remote-tracking branch 'origin/master' into 3832.backdated-leases
2021-10-29 07:17:23 -04:00
Jean-Paul Calderone
c05464f420
Merge pull request #1154 from tahoe-lafs/3835.document-some-testing-code
...
Document some testing code
Fixes: ticket:3835
2021-10-29 07:16:02 -04:00
Jean-Paul Calderone
b5f882ffa6
introduce and use LeaseInfo.is_cancel_secret
2021-10-28 15:21:51 -04:00
Jean-Paul Calderone
8b976b441e
add LeaseInfo.is_renew_secret and use it
2021-10-28 15:21:51 -04:00
Jean-Paul Calderone
78dbe76994
remove unused import
2021-10-28 15:20:44 -04:00
Jean-Paul Calderone
f8655f149b
fix the type annotations and such
2021-10-28 15:04:19 -04:00
Jean-Paul Calderone
d0ee17d99e
some docstrings
2021-10-28 12:39:01 -04:00
Jean-Paul Calderone
1b46ac7a24
add MutableShareFile.is_valid_header and use it
2021-10-28 11:38:18 -04:00
Jean-Paul Calderone
66845c9a17
Add ShareFile.is_valid_header and use it instead of manual header inspection
2021-10-28 11:12:20 -04:00
Jean-Paul Calderone
65d3ab6142
move backdating logic into mutable/immutable share files
2021-10-28 10:53:52 -04:00
Jean-Paul Calderone
3514995068
some versions of mypy don't like this so nevermind
2021-10-28 10:26:30 -04:00
Jean-Paul Calderone
76caf46347
make the alternate LeaseInfo constructors into class methods
2021-10-28 10:23:58 -04:00
Jean-Paul Calderone
70fb5d563a
Get rid of the public expiration_time attribute
...
LeaseInfo now has a getter and a setter for this attribute.
LeaseInfo is now also immutable by way of `attrs`.
LeaseInfo is now also comparable by way of `attrs`.
2021-10-28 09:48:26 -04:00
Jean-Paul Calderone
84dfb360ce
Merge pull request #1141 from LeastAuthority/3814.remove-control-port
...
Remove the "control port" and its associated Tub
Fixes: ticket:3814
2021-10-25 20:57:23 -04:00
Itamar Turner-Trauring
2a5dbcb05e
Tests for mutable leases.
2021-10-19 09:30:38 -04:00
Itamar Turner-Trauring
4b8b6052f3
Finish testing leases on immutables.
2021-10-19 09:05:48 -04:00
Itamar Turner-Trauring
b7be91e3d0
First test for leases.
2021-10-18 13:17:07 -04:00
Itamar Turner-Trauring
2b40610a27
"Server" is extremely ambiguous, so let's just call this a client, which it is.
2021-10-18 12:55:30 -04:00
Itamar Turner-Trauring
58112ba75b
Plan of implementation for lease tests.
2021-10-18 12:50:29 -04:00
Jean-Paul Calderone
ad216e0f23
remove unused import
2021-10-15 13:13:37 -04:00
Jean-Paul Calderone
0611af6b0b
Stop passing even a dummy value for control tub into Nodes
2021-10-15 13:10:18 -04:00
Jean-Paul Calderone
fe2e2cc1d6
Get rid of the control service
2021-10-15 12:12:19 -04:00
Jean-Paul Calderone
1de480dc37
Stop offering an API to create a control tub or handling the control tub
2021-10-15 12:12:03 -04:00
Jean-Paul Calderone
ddf5f461bf
Stop half-pretending to have a control port
2021-10-15 12:11:53 -04:00
Jean-Paul Calderone
e0312eae57
stop creating a control tub for client nodes
2021-10-15 12:02:24 -04:00
Jean-Paul Calderone
95b765e309
stop creating a control tub for the introducer
2021-10-15 11:54:18 -04:00
Itamar Turner-Trauring
e099bc6736
Tests for IStorageServer.advise_corrupt_share.
2021-10-14 12:52:56 -04:00
Itamar Turner-Trauring
22aab98fcf
When callRemoteOnly as removed, these probably should've been changed to return
...
a Deferred.
2021-10-14 12:52:40 -04:00
Jean-Paul Calderone
efc9dc831b
Revert "a stab at using setup.cfg and setuptools_scm"
...
This reverts commit 68e8e0a7d5b88568bd01c1a14957f972830d1f54.
2021-10-14 11:01:37 -04:00
Jean-Paul Calderone
68e8e0a7d5
a stab at using setup.cfg and setuptools_scm
2021-10-14 10:58:41 -04:00
Itamar Turner-Trauring
807363adc9
Reduce duplication.
2021-10-06 16:41:50 -04:00