Commit Graph

104 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
939f0ded25 It's OK if some nodes are down. 2023-06-12 12:00:12 -04:00
Itamar Turner-Trauring
4b495bbe85 Slightly improved logging. 2023-06-12 09:54:45 -04:00
Itamar Turner-Trauring
a1e00ffc3f Add a test that triggers client-side HTTP storage client to use Tor. 2023-05-19 13:59:43 -04:00
Itamar Turner-Trauring
a6b66dd331
Merge pull request #1294 from tahoe-lafs/4018-better-integration-logging
Better integration test logging

Fixes ticket:4018
2023-05-02 09:46:07 -04:00
Itamar Turner-Trauring
c15dd6c9f0 This wasn't the issue. 2023-04-28 11:43:48 -04:00
Itamar Turner-Trauring
0f200e422e Give it more time. 2023-04-27 15:48:49 -04:00
Itamar Turner-Trauring
8f1d1cc1a0 Include node name in the logging output from subprocesses. 2023-04-27 10:23:06 -04:00
Jean-Paul Calderone
c0e49064ce Attempt to get more information about client unready state 2023-04-27 09:50:02 -04:00
meejah
8b81bd7ebe remove more debug 2023-04-14 16:33:52 -06:00
meejah
76ce54ea53 remove debugging 2023-04-14 13:23:28 -06:00
Itamar Turner-Trauring
7b94324827 More debugging. 2023-04-07 15:23:51 -04:00
Itamar Turner-Trauring
1de8e811b5 Tweaks. 2023-04-04 10:58:22 -04:00
Jean-Paul Calderone
1c11f9e7d4 Add a little more debug info to the integration test suite output 2023-03-27 13:59:32 -04:00
Itamar Turner-Trauring
815066c4de Just use the utility. 2023-03-20 15:25:52 -04:00
Itamar Turner-Trauring
61d9d82c55 Make await_client_ready() non-blocking. 2023-03-20 15:02:35 -04:00
Itamar Turner-Trauring
db445af1c4 Separate flags for forcing foolscap between client and server. 2023-03-09 09:59:36 -05:00
Itamar Turner-Trauring
31024ceb4c reconfigure() is only an issue if it changes something... 2023-02-20 12:44:03 -05:00
Itamar Turner-Trauring
e3ad50a084 Just skip usage of reconfigure() on Windows. 2023-02-20 11:54:50 -05:00
Itamar Turner-Trauring
f4255cdaa3 More accurate names. 2023-02-07 09:03:45 -05:00
Itamar Turner-Trauring
921a2083dc Make sure (immutable) test vectors are run with the segment size that was used
to generate them.
2023-01-25 15:47:35 -05:00
Jean-Paul Calderone
4664bcb321 These didn't end up being used 2023-01-20 15:15:44 -05:00
Jean-Paul Calderone
4e2c685a12 Fix test_directory_deep_check by having it re-assert its preferred config
Previously the changes test_vectors.py made to Alice's configuration
invalidated test_directory_deep_check's assumptions.
2023-01-18 13:28:24 -05:00
Jean-Paul Calderone
290bb5297f lint 2023-01-17 10:19:37 -05:00
Jean-Paul Calderone
1d32326659 Simpler, more correct process lifecycle handling.
The previous version included a bogus hack where we just passed
`allow_missing=True` when finalization was requested of `_run_node`.  This was
clearly wrong since if the caller asked for finalization, it's a programming
error for it to already have been done.

Fortunately we have a perfectly good finalizer already, `TahoeProcess.kill`,
which we can use instead of trying to craft a finalizer out of the various
pieces that make up that value.

Also, nothing seems to use the `_protocol` attribute set by `got_proto` so
let's just drop that.
2023-01-17 10:06:14 -05:00
Jean-Paul Calderone
f2989c0a4f Correct the ProcessExitedAlready exception handling
It's always okay to get ProcessExitedAlready from signalProcess.  It just
means we haven't handled the SIGCHLD yet.
2023-01-17 09:46:22 -05:00
Jean-Paul Calderone
4eec8113ee reproducible ssk vectors 2023-01-16 15:53:24 -05:00
Jean-Paul Calderone
c211731c5f Merge remote-tracking branch 'origin/master' into 3961.test-vectors 2023-01-10 09:57:48 -05:00
Jean-Paul Calderone
77e5357a04 note to self 2022-12-27 09:12:56 -05:00
Jean-Paul Calderone
5af6fc0f9d reconfigure() only needs to restart the node if something changed 2022-12-22 20:53:49 -05:00
Jean-Paul Calderone
8a42720301 Move some general utility functions into the util module 2022-12-22 17:02:42 -05:00
Jean-Paul Calderone
49b513fefc Get basic generation working, apparently 2022-12-22 10:51:59 -05:00
Itamar Turner-Trauring
98e25507df A different approach to forcing foolscap in integration tests. 2022-12-12 10:43:36 -05:00
Itamar Turner-Trauring
add510701c Run integration tests both with and without HTTP storage protocol. 2022-11-16 11:44:51 -05:00
Itamar Turner-Trauring
f752f547ba More servers is fine. 2022-05-13 13:33:09 -04:00
Itamar Turner-Trauring
757b4492d7 A more semantically correct fix. 2022-05-13 13:29:08 -04:00
Itamar Turner-Trauring
22f8b9b428 Port to Python 3. 2021-05-12 09:25:52 -04:00
Itamar Turner-Trauring
02897b9968 Fix typo. 2021-05-11 13:21:47 -04:00
Itamar Turner-Trauring
4043b2fe1f Tests pass on Python 3. 2021-05-11 13:18:03 -04:00
Itamar Turner-Trauring
1c6a324a92 Fix a byte-to-string bug on Python 3. 2021-05-10 11:11:11 -04:00
Itamar Turner-Trauring
6df076dc10 Bit more progress. 2021-05-07 10:16:46 -04:00
Itamar Turner-Trauring
0d093c45df Test fails on Python 3, instead of spinning until timeout. 2021-05-07 10:06:12 -04:00
Itamar Turner-Trauring
4711c9fda3 More flake fixes. 2021-05-07 09:44:44 -04:00
Itamar Turner-Trauring
fa46efdb3a Enable BytesWarnings in integration tests. 2021-04-16 11:58:37 -04:00
Itamar Turner-Trauring
d25a0f1ce2 Increase timeout, just to be on the safe side. 2021-01-26 12:40:39 -05:00
Itamar Turner-Trauring
6c04ea7497 Explanatory comment is better now. 2021-01-26 10:14:14 -05:00
Itamar Turner-Trauring
0424ba2a48 Fix indent. 2021-01-26 09:57:11 -05:00
Itamar Turner-Trauring
db22291660 Try to minimally workaround issues causing Windows to block when writing logs. 2021-01-21 13:54:22 -05:00
Itamar Turner-Trauring
dfcd75f20d Infinite blocking is bad. 2021-01-12 13:58:28 -05:00
Itamar Turner-Trauring
3489e381be Get rid of finalizer which, I suspect, is keeping tests from shutting down on Windows. 2021-01-12 11:16:45 -05:00
Itamar Turner-Trauring
6107e52f96 Fix flake. 2021-01-11 15:26:38 -05:00