Commit Graph

14983 Commits

Author SHA1 Message Date
Jean-Paul Calderone
fbb5f4c359 slightly clarified comment 2023-04-25 09:31:10 -04:00
Jean-Paul Calderone
825bcf3f3b revert reformatting 2023-04-25 09:31:04 -04:00
Jean-Paul Calderone
ba387453cf it's a bug fix!
it's user-facing!
2023-04-25 09:30:53 -04:00
Jean-Paul Calderone
c595eea33e always set the "start time" timeout
in both the "we installed it ourselves" and the "we found an existing
installation" cases.
2023-04-25 09:27:51 -04:00
Jean-Paul Calderone
3d2e4d0798 note about port selection 2023-04-25 09:26:58 -04:00
Jean-Paul Calderone
73d9a4cd3b
Merge pull request #1 from meejah/3999.structure-config-manipulation
Fix Tor support in the introducer
2023-04-25 09:20:46 -04:00
meejah
b5f6fa8933 skip properly 2023-04-14 19:07:27 -06:00
meejah
8652bb71ad skip i2p tests again? 2023-04-14 17:05:57 -06:00
meejah
8b81bd7ebe remove more debug 2023-04-14 16:33:52 -06:00
meejah
3ccb7c4d1c re-enable i2p tests 2023-04-14 15:45:17 -06:00
meejah
34cee7ff73 missing import 2023-04-14 15:44:52 -06:00
meejah
d3c39f8604 fix i2p introducer, different ports 2023-04-14 15:27:19 -06:00
meejah
abfca04af5 turn off i2p tests for now 2023-04-14 13:24:22 -06:00
meejah
76ce54ea53 remove debugging 2023-04-14 13:23:28 -06:00
meejah
250efe7d24 leftover 2023-04-13 16:42:02 -06:00
meejah
175473df40 longer timeouts, forget less 2023-04-13 00:37:32 -06:00
meejah
9472841c39 enable tor, i2p services 2023-04-12 23:01:28 -06:00
meejah
507d1f8394 Fix some Chutney things (and a couple cleanups): wait for bootstrap, increase timeout 2023-04-12 22:34:45 -06:00
Itamar Turner-Trauring
7b94324827 More debugging. 2023-04-07 15:23:51 -04:00
Itamar Turner-Trauring
13e9f88309 Add necessary config option to ensure it listens on Tor, and also give correct
Tor control port.
2023-04-07 15:23:20 -04:00
Itamar Turner-Trauring
b1f5201ef2 Merge remote-tracking branch 'exarkun/3999.structure-config-manipulation' into 3999.structure-config-manipulation 2023-04-05 11:42:31 -04:00
Itamar Turner-Trauring
812458699d The tcp listening port needs to match the onion local port, or you get
connection refused when you try to connect to the hidden service.
2023-04-05 11:38:28 -04:00
Jean-Paul Calderone
76873e5901 Merge remote-tracking branch 'origin/master' into 3999.structure-config-manipulation 2023-04-05 08:43:24 -04:00
Itamar Turner-Trauring
efa51d41dc Newer chutney. 2023-04-04 10:58:28 -04:00
Itamar Turner-Trauring
1de8e811b5 Tweaks. 2023-04-04 10:58:22 -04:00
Jean-Paul Calderone
590b20431a
Merge pull request #1282 from exarkun/4003.test_connection_status-demock
Remove `mock` use from allmydata/test/test_connection_status.py

Fixes: ticket:4003
2023-04-03 12:18:05 -04:00
Jean-Paul Calderone
28e442a4f5
Merge pull request #1280 from exarkun/4001.propagate-parent-process-env
Propagate parent environment to children in the integration tests

Fixes: ticket:4001
2023-04-03 12:16:58 -04:00
Jean-Paul Calderone
0b5c96e762
Merge pull request #1281 from exarkun/4002.reuse-chutney
Use an existing Chutney, if there is one

Fixes: ticket:4002
2023-03-28 13:24:14 -04:00
Jean-Paul Calderone
efa91df901
Merge pull request #1279 from exarkun/4000.tor-integration-tests-skip
Skip the tor integration tests if any needed tor tools are missing

Fixes: ticket:4000
2023-03-28 13:23:49 -04:00
Jean-Paul Calderone
ecfa76ac32 Python 3.8 compatibility 2023-03-28 13:22:08 -04:00
Itamar Turner-Trauring
2fd1123f77
Merge pull request #1276 from tahoe-lafs/3978-connection-status-http-storage
Make connection status for http storage get updated in more cases

Fixes ticket:3978
2023-03-28 12:14:26 -04:00
Itamar Turner-Trauring
80d8e5b465 The function should return a coroutine. 2023-03-28 11:13:21 -04:00
Jean-Paul Calderone
3ea9e97606 Python 3.8 compatibility 2023-03-28 09:01:03 -04:00
Jean-Paul Calderone
a839ace32a news fragment 2023-03-28 08:53:54 -04:00
Jean-Paul Calderone
2e6a40294b Crank the type checking ratchet 2023-03-28 08:53:37 -04:00
Jean-Paul Calderone
6d4278b465 Factor some repetition out of the tests 2023-03-28 08:53:21 -04:00
Jean-Paul Calderone
8e63fe2fdd Remove the unused mock import 2023-03-28 08:52:55 -04:00
Jean-Paul Calderone
9a8430c90f Remove porting boilerplate 2023-03-28 08:52:44 -04:00
Jean-Paul Calderone
32cd54501d Pass a time function instead of patching the global 2023-03-28 08:52:31 -04:00
Jean-Paul Calderone
6b7ea29d88 use foolscap.reconnector.Reconnector where one is required
Unfortunately we need to touch a private attribute directly to shove our
expected info into it.  This isn't so bad though.  Foolscap isn't moving much
and we're not touching anything complex, just setting a simple model
attribute.
2023-03-28 08:40:25 -04:00
Jean-Paul Calderone
e2c6cc49d5 use foolscap.info.ConnectionInfo where one is required
It's *right* there.  Just use it!
2023-03-28 08:37:22 -04:00
Jean-Paul Calderone
2f106aa02a use foolscap.reconnector.ReconnectionInfo where one is required
It's *right* there.  Just use it!
2023-03-28 08:35:31 -04:00
Itamar Turner-Trauring
bd7c61cc5c Split up the state management logic from the server pinging logic. 2023-03-27 16:58:15 -04:00
Jean-Paul Calderone
4232c7f142 remove unused binding 2023-03-27 14:55:10 -04:00
Itamar Turner-Trauring
7838f25bf8 Clean up with simpler idiom. 2023-03-27 14:54:36 -04:00
Itamar Turner-Trauring
0995772b24 Explain why we ignore type check. 2023-03-27 14:54:27 -04:00
Jean-Paul Calderone
81193aaddc news fragment 2023-03-27 14:43:58 -04:00
Jean-Paul Calderone
d3d94937be Nothing uses the return value of this fixture 2023-03-27 14:42:32 -04:00
Jean-Paul Calderone
fb8c10c55f Use an already-installed Chutney if there is one 2023-03-27 14:42:32 -04:00
Jean-Paul Calderone
50c4ad8113 news fragment 2023-03-27 14:07:53 -04:00