Commit Graph

21 Commits (cb5391dbfd9544ee58ec1ee5a2d1be837f9bed2a)

Author SHA1 Message Date
tuxxy c965f72c2e Fix DoS vector on nodes through map storage 2020-10-13 10:01:37 +02:00
tuxxy 5962cd4c05 Prune expired treasure maps in __prune_datastore (formerly __prune_arrangements) 2020-10-13 10:01:37 +02:00
David Núñez 064972e800 Some unit tests reorganization 2020-09-24 20:27:13 +02:00
David Núñez 4cf7dcadc3 We're done with multiple domains, for the moment.
Closes #2144. Closes #1580.
2020-09-24 20:27:13 +02:00
jMyles 6498992f61 Deduplicating test; moving json validation utils to utils. 2020-08-24 09:42:15 -07:00
jMyles d7b8254b36 Since this doens't block, it's possible that Bob hasn't actually connected to *any* nodes yet. 2020-08-18 12:05:58 -07:00
jMyles 34a5ad910d Removing stale debugging tooling. 2020-08-18 12:05:55 -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 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 ea092fd4d3 Using lonely_ursula_maker in all the right places. 2020-08-10 12:51:49 -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 295518033e Refining both test and threadpooling. Looking pretty good now. 2020-08-10 12:45:22 -07:00
jMyles 3e9cf80386 Splitting test logic to show when the problem is with Bob or with Alice. 2020-08-10 12:39:59 -07:00
tuxxy b1817cc9f2 Remove Ursula.work_orders and replace its use with queries to the datastore 2020-08-10 15:38:13 +02:00
tuxxy 52038e36dc Create a MockLMDBEnv w/ fixture and fix up some tests
Patch the PolicyArrangement model to fix discovery phase tests
2020-08-10 15:38:12 +02:00
tuxxy 846625d917 Replace as much old datastore logic as possible 2020-08-10 15:37:30 +02:00
Kieran Prasch 5909c37dd1 Apply API and interface updates to for enrico file handling. 2020-06-18 08:55:21 -07:00
damon 6d79d8db7b test fixes resulting from change in keys 2020-06-17 11:31:48 -07:00
damon 9d65b242e8 message -> plaintext 2020-06-17 00:08:48 -07:00
Kieran Prasch 28cce2fccc Reorganize tests into multiple suites. 2020-05-27 14:11:25 -07:00