Commit Graph

2472 Commits (4057608e6817c450e3eaa5f2545a9c729dcb3ba1)

Author SHA1 Message Date
jMyles 4057608e68 Checking for zombified Characters and failing modules that leave them in state. 2020-08-18 05:10:43 -07:00
Kieran Prasch 6dd188a6d8 Skip treasure map duplication test for now. 2020-08-18 05:10:43 -07:00
Kieran Prasch e594ff5e8c Test fixes: another manual tpower activation and attempt to fix tmap reference. 2020-08-18 05:10:43 -07:00
Kieran Prasch 73d1022c94 bifurcate 'network actors' tests. 2020-08-18 05:10:43 -07:00
Kieran Prasch c6b56ed5e5 Skip geth integration alltogether until #2074 2020-08-18 05:10:43 -07:00
Kieran Prasch 81b761d8bd Unlock Ursula keyring in windingdown test. 2020-08-10 16:59:49 -07:00
jMyles bf1993b6d2 Adding global state dictionary for running test Characters. 2020-08-10 16:59:13 -07:00
jMyles 65b3666d67 Couple of fixes on top to get things to run - most notably, 10M lmdb map size (obviously this needs a legit patch or whatever). 2020-08-10 16:38:40 -07:00
jMyles 5547f397ba Cleaning up some warts that were causing occasional failures. 2020-08-10 13:02:13 -07:00
jMyles a4679e6b86 Reversion of 296617131, yanking autouse from fixtures. See https://ptb.discordapp.com/channels/411401661714792449/411401661714792451/739866441154822234. 2020-08-10 13:02:11 -07:00
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