Fon E. Noel NFEBE
1d85a2c5cf
Refactor more test_storage.py classes
...
As a follow up to commit fbc8baa238
this refactor continues to remove deprecated methods and ensures
test classes either extend `SyncTestCase` or `AsyncTestCase`
Classes refactored:
- `MutableServer`
- `MDMFProxies`
- `Stats`
- `MutableShareFileTests`
Signed-off-by: Fon E. Noel NFEBE <fenn25.fn@gmail.com>
2022-11-20 15:38:08 +01:00
Fon E. Noel NFEBE
4c18890e84
Merge branch 'master' into 3917-refactor-test-storage-py
2022-11-19 23:35:59 +01:00
Itamar Turner-Trauring
ac524a3077
Merge pull request #1225 from tahoe-lafs/3783-storage-client-http
...
Make storage_client support HTTP
Fixes ticket:3783
2022-11-17 12:19:54 -05:00
Itamar Turner-Trauring
9b21f1da90
Increase how many statuses are stored.
2022-11-17 11:35:10 -05:00
Itamar Turner-Trauring
d182a2f186
Add the delay to appropriate test.
2022-11-17 11:01:12 -05:00
Itamar Turner-Trauring
097d918a24
Sigh
2022-11-16 13:37:50 -05:00
Itamar Turner-Trauring
3531737347
Make timeouts less aggressive, CI machines are slow?
2022-11-16 10:36:11 -05:00
Itamar Turner-Trauring
2ab172ffca
Try to set more aggressive timeouts when testing.
2022-11-16 10:26:29 -05:00
Itamar Turner-Trauring
9f5f287473
Nope, not helpful.
2022-11-16 09:57:39 -05:00
Itamar Turner-Trauring
a20943e10c
As an experiment, see if this fixes failing CI.
2022-11-16 09:33:01 -05:00
Itamar Turner-Trauring
2a5e8e5971
Better cleanup.
2022-11-15 15:05:27 -05:00
Itamar Turner-Trauring
f3fc426830
Switch to [storage] force_foolscap.
2022-11-15 14:36:14 -05:00
Itamar Turner-Trauring
fb52b4d302
Delete some garbage.
2022-11-15 14:22:30 -05:00
Itamar Turner-Trauring
8e4ac69032
Stop test mode when done.
2022-11-15 14:21:31 -05:00
Itamar Turner-Trauring
4aeb62b66c
Use a constant.
2022-11-15 14:16:41 -05:00
Itamar Turner-Trauring
d700163aec
Remove no-longer-relevant comment.
2022-11-15 14:14:29 -05:00
Itamar Turner-Trauring
6c80ad5290
Not necessary.
2022-11-15 14:13:50 -05:00
Itamar Turner-Trauring
d1287df629
The short timeout should be specific to the storage client's needs.
2022-11-15 14:02:19 -05:00
Jean-Paul Calderone
4cb38a0596
Merge pull request #1213 from tahoe-lafs/3922.minor-gbs-text-fixes
...
Fix some minor GBS spec issues
2022-11-08 10:36:05 -05:00
Jean-Paul Calderone
4dc195ea96
Merge remote-tracking branch 'origin/master' into 3922.minor-gbs-text-fixes
2022-11-08 09:30:13 -05:00
Jean-Paul Calderone
90f1eb6245
Fix the fURL and NURL links
2022-11-08 09:24:29 -05:00
Itamar Turner-Trauring
8d678fe3de
Increase timeout.
2022-11-07 11:41:50 -05:00
Itamar Turner-Trauring
414b463556
Use built-in treq timeout feature.
2022-11-07 09:23:04 -05:00
Itamar Turner-Trauring
1e50e96e24
Update to new test API.
2022-11-03 15:04:41 -04:00
Itamar Turner-Trauring
8bebb09edd
Less test-specific way to make test_rref pass.
2022-11-03 14:38:59 -04:00
Itamar Turner-Trauring
262d9d85b9
Switch to using persistent connections in tests too.
2022-11-03 14:32:43 -04:00
Itamar Turner-Trauring
db59eb12c0
Increase timeout.
2022-11-02 15:22:36 -04:00
Itamar Turner-Trauring
e05136c238
Less aggressive timeout, to try to make tests pass on CI.
2022-11-02 13:13:21 -04:00
Itamar Turner-Trauring
48ae729c0d
Don't reuse basedir across tests.
2022-11-02 10:18:23 -04:00
Itamar Turner-Trauring
73271afa65
Merge remote-tracking branch 'origin/master' into 3783-storage-client-http
2022-11-02 09:23:29 -04:00
Itamar Turner-Trauring
26a9377d4c
Merge pull request #1226 from tahoe-lafs/3938-pycddl-0.2
...
Require latest pycddl, and work around a regression
2022-11-02 09:22:14 -04:00
Jean-Paul Calderone
46fbe3d028
bump pypi-deps-db for new pycddl version
2022-10-18 17:32:23 -04:00
Itamar Turner-Trauring
1a3e3a86c3
Require latest pycddl, and work around a regression.
2022-10-14 11:27:04 -04:00
Itamar Turner-Trauring
f68c3978f6
News fragment.
2022-10-14 10:18:38 -04:00
Itamar Turner-Trauring
0febc87456
Don't include reactor in comparison.
2022-10-14 10:03:06 -04:00
Itamar Turner-Trauring
e409262e86
Fix some flakes.
2022-10-14 09:50:07 -04:00
Itamar Turner-Trauring
42d3843343
Run test_system with both Foolscap and HTTP storage protocols, plus some
...
resulting cleanups.
2022-10-14 09:16:59 -04:00
Itamar Turner-Trauring
0f31e3cd4b
Leave HTTP off by default for now.
2022-10-13 14:41:59 -04:00
Itamar Turner-Trauring
b80a215ae1
test_rref passes now.
2022-10-13 14:15:10 -04:00
Itamar Turner-Trauring
0d23237b11
Some progress towards passing test_rref.
2022-10-13 13:44:49 -04:00
meejah
0c155547b1
Merge pull request #1224 from meejah/3927.release
...
missing release-announcement for 1.18.0
2022-10-12 16:33:44 -06:00
Jean-Paul Calderone
62563a9b58
Merge remote-tracking branch 'origin/master' into 3927.release
2022-10-12 15:18:26 -04:00
Itamar Turner-Trauring
8b0ddf406e
Make HTTP and Foolscap match in another edge case.
2022-10-04 11:17:19 -04:00
Itamar Turner-Trauring
8190eea489
Fix bug introduced in previous commit.
2022-10-04 11:02:36 -04:00
Itamar Turner-Trauring
ea1d248611
These objects get stored in a context where they need to be hashed, sometimes.
2022-10-04 10:51:43 -04:00
Itamar Turner-Trauring
f56b43468b
Merge pull request #1220 from tahoe-lafs/3902-listen-storage-http
...
Listen with storage HTTP protocol on same port as Foolscap
Fixes ticket:3902
2022-10-04 10:32:13 -04:00
Itamar Turner-Trauring
1294baa82e
LoopingCall may already have been stopped.
2022-10-04 10:30:27 -04:00
Itamar Turner-Trauring
fd07c092ed
close() is called while writes are still happening.
2022-10-04 10:30:07 -04:00
Itamar Turner-Trauring
8b2884cf3a
Make changes work again.
2022-10-04 09:44:30 -04:00
Itamar Turner-Trauring
1ea716c8bf
Merge branch '3902-listen-storage-http' into 3783-storage-client-http
2022-10-04 09:22:49 -04:00