Jean-Paul Calderone
58f20ff9c7
advertise all the names
2023-01-20 19:50:57 -05:00
Jean-Paul Calderone
f4e3e08e38
re-generate with a case using an exact segment size multiple
...
all of the mutables totally change because we don't try to re-use existing rsa
keys (yet...?)
2023-01-20 16:27:13 -05:00
Jean-Paul Calderone
ed7bb1b41f
expose the persistence api
2023-01-20 16:27:05 -05:00
Jean-Paul Calderone
781f4486ac
Get the segment size parameter right
2023-01-20 16:26:23 -05:00
Jean-Paul Calderone
a9875b19c3
clearer language in the slow
mark documentation
2023-01-20 15:20:42 -05:00
Jean-Paul Calderone
c46ab2d88b
Hit a multiple of SEGMENT_SIZE on the nose
2023-01-20 15:20:02 -05:00
Jean-Paul Calderone
4664bcb321
These didn't end up being used
2023-01-20 15:15:44 -05:00
Jean-Paul Calderone
9581eeebe5
explain the repeated save_capabilities calls
2023-01-20 15:14:18 -05:00
Itamar Turner-Trauring
3d2dbdb1cd
Merge remote-tracking branch 'origin/master' into 3952-benchmarks
2023-01-20 11:10:39 -05:00
Jean-Paul Calderone
129c6ec11a
Factor more infrastructure code out of the test module
...
Test vector saving implementation can go near loading implementation. Also we
can separate out some simple types from the more complex logic. Initially
this was to resolve a circular dependency but that ended up being resolved
mostly by treatming SEGMENT_SIZE more like a parameter than a global. Still,
smaller modules are okay...
2023-01-18 13:52:11 -05:00
Jean-Paul Calderone
280a77b53d
Convince pytest that slow is a legit mark
2023-01-18 13:30:12 -05:00
Jean-Paul Calderone
69b25d932c
Re-enable the Debian-11 / integration gate
2023-01-18 13:29:14 -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
e53f68f4d7
Move parameter definitions to their own module, away from test implementation
2023-01-17 10:59:00 -05:00
Jean-Paul Calderone
f6555381a9
start right away please so I don't have to wait forever
2023-01-17 10:40:08 -05:00
Jean-Paul Calderone
6bf36bebd0
maybe we need integration
here after all
2023-01-17 10:39:58 -05:00
Jean-Paul Calderone
e4745779ab
See if this helps tox/pytest on CI
2023-01-17 10:27:20 -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
eb630c391f
"Parametrize" in a way that gives us better test names.
...
The old way just put sequence numbers into the name. This way puts expected
capability strings in.
2023-01-17 10:03:54 -05:00
Jean-Paul Calderone
da6b198abc
True that the tox default is disabled but it's accounted for already
2023-01-17 10:00:06 -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
fe552bf146
Fix CircleCI config typo
2023-01-17 09:44:27 -05:00
Jean-Paul Calderone
5424aa9737
Only run the very slow new integration test in one CI job
2023-01-17 09:27:17 -05:00
Jean-Paul Calderone
3ab7fc3853
Be able to load the data
2023-01-17 08:45:38 -05:00
Jean-Paul Calderone
d14ba09dbb
Some flake fixes
2023-01-17 08:41:31 -05:00
Jean-Paul Calderone
8cc4e5905d
news fragment
2023-01-17 08:40:59 -05:00
Jean-Paul Calderone
c28f10057b
Move some more pieces into the subdirectory
2023-01-16 16:01:11 -05:00
Jean-Paul Calderone
4eec8113ee
reproducible ssk vectors
2023-01-16 15:53:24 -05:00
Jean-Paul Calderone
1827834434
Re-generate vectors with a very small CHK
2023-01-13 21:14:37 -05:00
Jean-Paul Calderone
28e3188775
Merge remote-tracking branch 'origin/master' into 3961.test-vectors
2023-01-13 20:55:45 -05:00
Jean-Paul Calderone
7b768fdaca
Merge pull request #1245 from exarkun/3962.pre-determined-rsa-keys
...
Support the creation of a new mutable object with a pre-determined signature key
2023-01-13 12:28:34 -05:00
Jean-Paul Calderone
bdad577e41
Merge remote-tracking branch 'origin/master' into 3962.pre-determined-rsa-keys
2023-01-13 11:23:26 -05:00
Itamar Turner-Trauring
d3a40b8430
Merge pull request #1247 from tahoe-lafs/3960-misleading-ENOSPC-on-Windows
...
Attempt to workaround for failing Windows builds
Fixes ticket:3960
2023-01-13 11:20:24 -05:00
Itamar Turner-Trauring
0c0c7a2c27
Merge remote-tracking branch 'origin/master' into 3960-misleading-ENOSPC-on-Windows
2023-01-13 11:00:00 -05:00
Jean-Paul Calderone
e64c6b02e6
Fix a typo
2023-01-13 10:29:22 -05:00
Jean-Paul Calderone
d64529ac89
Merge pull request #1248 from tahoe-lafs/3966-charset-normalizer
...
Pin older charset_normalizer
2023-01-13 10:24:59 -05:00
Itamar Turner-Trauring
0eee22cccf
Pin older charset_normalizer.
2023-01-13 09:53:38 -05:00
Jean-Paul Calderone
312513587f
Switch to FilePath, regenerate w/o "max"
2023-01-12 17:27:37 -05:00
Jean-Paul Calderone
ed74fdc746
write the data file more safely
2023-01-12 16:56:20 -05:00
Jean-Paul Calderone
1a807a0232
mollify the type checker
2023-01-12 16:32:32 -05:00
Jean-Paul Calderone
d5628f9c84
Merge remote-tracking branch 'origin/master' into 3962.pre-determined-rsa-keys
2023-01-12 16:17:09 -05:00
Jean-Paul Calderone
c856f1aa29
Censor private key values in the HTTP log, too.
2023-01-12 16:16:55 -05:00
Jean-Paul Calderone
47ec418f7a
Test that we can also download the mutable data via the web interface
2023-01-12 16:09:29 -05:00
Jean-Paul Calderone
e6ef45d337
test that we can also download the mutable
2023-01-12 15:37:12 -05:00
Jean-Paul Calderone
2d23e2e640
some doc improvements
2023-01-12 15:37:07 -05:00
Jean-Paul Calderone
2490f0f58a
some minor rationalization of the return type
2023-01-12 15:33:37 -05:00
Jean-Paul Calderone
dd51c7a3f1
Handle an empty test vectors file
2023-01-12 15:19:01 -05:00
Jean-Paul Calderone
fa55956d29
Always write an int to the test vectors file
2023-01-12 15:18:54 -05:00
Jean-Paul Calderone
bbd3e74a5f
Always place an int in the parameters total field
2023-01-12 15:17:08 -05:00