Commit Graph

7238 Commits (6dd188a6d81b129c9489e7c45f40ff0fa44b60ed)

Author SHA1 Message Date
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 533a003a98 Restores exception handling around eager node learning (needs follow up) 2020-08-18 05:10:43 -07:00
Kieran Prasch da582908c7 Use exception chaining duing transaction failed handling 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 4795a32bad Examine remaining Characters when crashing gracefully. 2020-08-10 13:02:13 -07:00
jMyles 632427fb1f Track created Characters per test. 2020-08-10 13:02:13 -07:00
jMyles 5a4220d4e1 We always want to crash_right_now if there aren't enough Teachers. This is a quintessential failfast situation. 2020-08-10 13:02:13 -07:00
jMyles e069e8f552 Changing short-circuit logic to a Queue to use as a mutex. 2020-08-10 13:02:13 -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 b92330f2c8 Stray name change. 2020-08-10 13:01:50 -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 11e4694df8 Stopping character after CLI action. 2020-08-10 12:55:29 -07:00
jMyles 7bdc86a9cd Making mature() a bit safer against reentrancy situations. Might still need a mutex. 2020-08-10 12:55:29 -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 ea22e7ef05 Temporary tweaks and out-comments to get cancellation working on a (logically) sub-optimal way. 2020-08-10 12:54:36 -07:00
jMyles aeb8fa47f4 Slow, debugger-friendly version of the instantiation of our discovery looping call. 2020-08-10 12:54:36 -07:00
jMyles 838f087892 Cleaning logged message for #724 / #2156. 2020-08-10 12:54:36 -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 924435ee37 This might happen to a stranger who isn't a node and doesn't have a rest_url. 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 e23e968eb5 Moving the canceller to a top-level class and re-using it. 2020-08-10 12:53:33 -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 74483ba594 Stopping here breaks RPC and other long-running CLI. Need to put it elsewhere. 2020-08-10 12:53:04 -07:00
jMyles 438b24e0c1 Another deprecated federated_only. 2020-08-10 12:53:04 -07:00
jMyles b73475a879 No need for the if here - this function checks if it's running. 2020-08-10 12:53:04 -07:00
jMyles 0106e0a731 More useful division of error situations where a signature from a Teacher appears to be invalid. 2020-08-10 12:53:04 -07:00
jMyles 92e56069fb Still need to set known_node_class here. 2020-08-10 12:53:04 -07:00
jMyles 266eea23ca Yanking some autouses in favor of usefixtures. [skip ci] 2020-08-10 12:53:03 -07:00
jMyles b23e46d515 Crash more quickly, and with better error, if unable to get cert during seednode instantiation. 2020-08-10 12:52:31 -07:00
jMyles e7e710bb36 Stop Alice's publication threadpool in disenchant(). 2020-08-10 12:52:31 -07:00
damon c9d176e972 use 12 ursulas for circle docker demo integration tests 2020-08-10 12:52:31 -07:00
jMyles ff99777960 Fixing blunderous percentage error - thanks @fjarri. 2020-08-10 12:52:31 -07:00
jMyles 9f6c72a641 Reducing density; this line was crazy. 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 ac4117485b It makes more sense to force this off into a thread. We're not eager anyway, so there's no reason to chance blocking the main thread. 2020-08-10 12:52:31 -07:00