jMyles
|
a6a873482f
|
Merging #2128, #2137, #2155 into a rebase over main (instead of three separate github-generated merge commits, which caused a conflict).
|
2020-08-10 13:01:47 -07:00 |
jMyles
|
fdb726095a
|
Some more debug-level logs instead of prints.
|
2020-08-10 12:55:29 -07:00 |
jMyles
|
cf196f2c72
|
Much more leeway in the number of nodes that have the map when we unblock (as this varies widely just on my laptop, depending on what else I'm running in the background.
|
2020-08-10 12:55:29 -07:00 |
jMyles
|
663b7de3c8
|
Lots of Character stoppages; these continually running loops went unnoticed before.
|
2020-08-10 12:55:27 -07:00 |
jMyles
|
e0918764d8
|
Big fixup for the remaining errors blocking integration.learning.
|
2020-08-10 12:54:35 -07:00 |
jMyles
|
7b0e8110bd
|
Tests were hanging.
|
2020-08-10 12:54:05 -07:00 |
jMyles
|
5fd14a7109
|
make_federated_ursulas gets called from a few places of varying depths in the stack - accounting for that.
|
2020-08-10 12:54:05 -07:00 |
jMyles
|
a448903bbb
|
This makes more sense, because you might block the main thread in a test, and then the Ursula can't process the request.
|
2020-08-10 12:54:05 -07:00 |
jMyles
|
3fa81deb00
|
Loading seednodes here is enough.
|
2020-08-10 12:54:05 -07:00 |
jMyles
|
eaf7fbca37
|
Some debugging breadcrumbs for Ursula.
|
2020-08-10 12:54:04 -07:00 |
jMyles
|
a341962155
|
Struggling with some ALreadyCalled issues - turning debugging on for the defer module gives some useful insight.
|
2020-08-10 12:53:48 -07:00 |
jMyles
|
8cd182e26d
|
Stopping Bob and Ursula at appropriate times.
|
2020-08-10 12:53:33 -07:00 |
jMyles
|
78eb904c10
|
Flagging test bob's origins for inspection on other threads.
|
2020-08-10 12:53:33 -07:00 |
jMyles
|
7362b4bfe2
|
Adding cancellation to keep_learning logic.
|
2020-08-10 12:53:32 -07:00 |
jMyles
|
266eea23ca
|
Yanking some autouses in favor of usefixtures. [skip ci]
|
2020-08-10 12:53:03 -07:00 |
jMyles
|
e7e710bb36
|
Stop Alice's publication threadpool in disenchant().
|
2020-08-10 12:52:31 -07:00 |
Kieran R. Prasch
|
041622c40d
|
Allow worker to attempt period commitment as part of it's initialization.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
2daa4a28e9
|
Lookup transacting_power in the typical public way.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
a2b04a00a1
|
Starting Bob's learning loop here (which is in keeping with reality) is needed now that we don't hardcode Bob's fixture nodes.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
dcbd882a9c
|
Lifecycle logic - shared in federated and blockchain modules.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
16bc34754d
|
Another test that was passing for the wrong reason. It now works regardless of whether the future Ursula is a hardcoded seednode or a user-specified one.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
9437009ffd
|
Add a measure of maturation time; if this increases dramatically, that will represent a breakage.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
784814c4bb
|
Don't ship blockchain_bob with known_nodes; he can use his domain hardcoded nodes. Also, don't start his learning loop after the fact. This caused this test to pass even when he was unable to actually find the nodes in join_policy.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
866e0e2e0a
|
Skipping this test until we get the DB (#2099) worked out.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
4e68f532b5
|
Felix doesn't use a network domain.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
5f3eca5b4b
|
Divide cli lifecycle tests into federated and decentralized in order to keep Ursula cache separated.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
16a7f90e27
|
Separating lifecycle tests for fixture hygiene.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
27b1f8fff9
|
Fixed imports for acumen.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
a0db5ffb15
|
Moving federated tests into their own module to keep the cache cleaner.
|
2020-08-10 12:52:30 -07:00 |
jMyles
|
d6d9fb4b62
|
This test needs to look for the checksum_address specifically, since this will be a stranger node or sprout now.
|
2020-08-10 12:51:49 -07:00 |
jMyles
|
ea092fd4d3
|
Using lonely_ursula_maker in all the right places.
|
2020-08-10 12:51:49 -07:00 |
jMyles
|
fde4d9049b
|
Fixturizing lonely_ursula_maker for cleanup purposes.
|
2020-08-10 12:51:42 -07:00 |
jMyles
|
0b318c2866
|
Clarify each fleet state (because one of them is the result of the seednode loading).
|
2020-08-10 12:51:11 -07:00 |
jMyles
|
eebf26e334
|
This test is no longer relevant; the seednode tests cover this logic equally well.
|
2020-08-10 12:51:11 -07:00 |
jMyles
|
6faadb775d
|
Only simulate hardcoded domain nodes for TEMPORARY_DOMAIN, not nonstandard test domains.
|
2020-08-10 12:51:11 -07:00 |
jMyles
|
cc7e96f671
|
This entire test (and part of another) is no longer relevant, as Alice and Bob will learn about seednodes form their hardcoded domain list in such a scenario.
|
2020-08-10 12:51:11 -07:00 |
jMyles
|
392d51f711
|
This is a more acute test with a nonstandard domain, as it assures that the actual seednode logic is used.
|
2020-08-10 12:51:11 -07:00 |
jMyles
|
0a52a8edb7
|
Longer time allowance for this test; it will still almost certainly pass in the faster times on CI, but it's a pain to have it fail locally.
|
2020-08-10 12:51:11 -07:00 |
jMyles
|
2c4c7a0b15
|
We no longer need to lower the parameter here; this test can pass in time with all 5000.
|
2020-08-10 12:51:10 -07:00 |
jMyles
|
046c8e3989
|
Reworked logic to determine good serials for mocks.
|
2020-08-10 12:49:54 -07:00 |
jMyles
|
21ed54097c
|
We need to fetch the actual Ursula from the cache to get the bytestring; this will be a sprout nowadays.
|
2020-08-10 12:49:53 -07:00 |
jMyles
|
9f117ebc6a
|
A Character created from blank config will try to connect to seednodes without lonely.
|
2020-08-10 12:49:26 -07:00 |
jMyles
|
a3a21ff49e
|
The number of known nodes might be a bit variable at this point; we're really concerned that he has only connected to 2.
|
2020-08-10 12:49:26 -07:00 |
jMyles
|
a69705475a
|
Fixing up fixtures to fail fast and delete Ursulas when done.
|
2020-08-10 12:49:26 -07:00 |
jMyles
|
4ffecd85fd
|
Going back to defined ports in the hopes of working out #1546 / #1689.
|
2020-08-10 12:49:26 -07:00 |
jMyles
|
3db10ae5ff
|
We're not connecting to seednodes at this stage anymore.
|
2020-08-10 12:49:26 -07:00 |
jMyles
|
98c63a2b54
|
Moving seednode loading logic inward.
|
2020-08-10 12:49:26 -07:00 |
jMyles
|
e85acfccaa
|
Moving hardcoded seednodes to middleware.
|
2020-08-10 12:49:26 -07:00 |
jMyles
|
858345a58f
|
Getting --lonely through each Character where it's used.
|
2020-08-10 12:49:26 -07:00 |
jMyles
|
c6e004b870
|
Allow other Characters to be --lonely.
|
2020-08-10 12:49:26 -07:00 |