Itamar Turner-Trauring
c80469b50b
Handle the Windows waker too.
2022-11-22 11:55:56 -05:00
Itamar Turner-Trauring
3a613aee70
Try a different approach to timeouts: dynamic, instead of hardcoded.
2022-11-21 12:24:50 -05:00
Fon E. Noel NFEBE
1d85a2c5cf
Refactor more test_storage.py classes
...
As a follow up to commit fbc8baa238f72720cfa840a9c227c670a5e2fa6e
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
8cfdae2ab4
sigh
2022-11-18 15:26:02 -05:00
Itamar Turner-Trauring
aeaced848d
Merge remote-tracking branch 'origin/master' into 3940-http-timeouts
2022-11-18 15:25:44 -05:00
Itamar Turner-Trauring
4c0c75a034
Fix DelayedCall leak in tests.
2022-11-18 13:56: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
30a9877236
Merge branch '3783-storage-client-http' into 3940-http-timeouts
2022-11-15 14:38:48 -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
meejah
039c1d8037
Update src/allmydata/grid_manager.py
...
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2022-11-09 10:52:42 -07:00
meejah
b2431f3a89
Update src/allmydata/cli/grid_manager.py
...
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2022-11-09 10:46:31 -07:00
Itamar Turner-Trauring
8d678fe3de
Increase timeout.
2022-11-07 11:41:50 -05:00
Itamar Turner-Trauring
65a7945fd9
Don't need a connection timeout since we have request-level timeouts.
2022-11-07 11:39:45 -05:00
Itamar Turner-Trauring
2c911eeac1
Make sure everything is using the same clock.
2022-11-07 11:28:36 -05:00
Itamar Turner-Trauring
f8b9607fc2
Finish up limited_content() timeout code.
2022-11-07 11:26:11 -05:00
Itamar Turner-Trauring
ce59ddc1ea
Merge branch '3783-storage-client-http' into 3940-http-timeouts
2022-11-07 11:20:54 -05:00
Itamar Turner-Trauring
c4772482ef
WIP
2022-11-07 11:19:00 -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
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
1a3e3a86c3
Require latest pycddl, and work around a regression.
2022-10-14 11:27:04 -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
Itamar Turner-Trauring
435df4923f
Merge branch 'master' into 2916.grid-manager-proposal.6
2022-10-05 10:18:09 -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
1294baa82e
LoopingCall may already have been stopped.
2022-10-04 10:30:27 -04:00