Commit Graph

91 Commits

Author SHA1 Message Date
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
Itamar Turner-Trauring
6b2a999f8d Replace ckeygen with Paramiko library calls, since ckeygen doesn't work on Windows. 2021-01-11 14:02:45 -05:00
Itamar Turner-Trauring
2589737e1e Public key auth test passes. 2021-01-08 13:33:22 -05:00
Itamar Turner-Trauring
3764e3b6b1 A (so far failing) test for SSH public key authentication. 2021-01-07 13:59:57 -05:00
Itamar Turner-Trauring
054af4b76e Sketch of where SFTP setup needs to happen. 2021-01-07 11:25:26 -05:00
Jean-Paul Calderone
7dda680cb2 Already using "tahoe run", de-emphasize "tahoe start" 2020-12-09 10:51:10 -05:00
Jean-Paul Calderone
c82501e0dc Merge remote-tracking branch 'origin/master' into 3511.config-set-config 2020-11-26 11:01:18 -05:00
Jean-Paul Calderone
a06caae667 Make all the config unicode 2020-11-20 16:04:29 -05:00
Jean-Paul Calderone
88ce823618 Update integration test caller of altered write_config 2020-11-18 18:26:52 -05:00
Jean-Paul Calderone
64a9e95319 Pass PATH (and other stuff) into the child process 2020-10-16 11:27:13 -04:00
Jean-Paul Calderone
1fba2d6ea2
Remove the magic-folder integration tests 2020-02-13 10:28:25 -05:00
meejah
0f6d6659e9 fewer magic numbers (and a fix to upload encoding) 2019-08-24 14:26:09 -06:00
meejah
5ca3a3a1ab consistent naming for client fixtures / helpers 2019-08-20 00:18:14 -06:00
meejah
7244f3516d
Merge pull request #641 from meejah/integration-test-wait-for-ready
Better method of "waiting for readiness" in integration tests
2019-08-13 18:14:19 +00:00