Commit Graph

486 Commits

Author SHA1 Message Date
James Wilson 582c49413b Make server able to run old or new binary so that we can compare the actix version with this one 2021-07-16 17:58:26 +01:00
James Wilson 81a0140c3b bump wait-time for port to be ready; build-host is slower to compile than my laptop.. 2021-07-16 10:03:38 +01:00
James Wilson fd79b3e85b Add some tests, and add a configurable soak test 2021-07-15 17:18:58 +01:00
James Wilson db8ea9a8f3 Add more tests, fix (and test for) a deadlock re overquota messages, more unbounded channels and less .awaiting 2021-07-15 10:53:02 +01:00
James Wilson 86a3edf053 increase wait-for-port timeout to accomodate for --release mode and slower machines 2021-07-14 15:14:47 +01:00
James Wilson e34da5761f move tests around and add (non working) benchmark 2021-07-14 15:05:09 +01:00
James Wilson c1208b9e81 cargo fmt 2021-07-13 16:51:24 +01:00
James Wilson 9ac5ea7624 Various bits and pieces to address PR comments 2021-07-13 16:51:14 +01:00
James Wilson faedba87d4 no e2e feature, and don't assume 'cargo run' is a good default 2021-07-13 11:12:23 +01:00
James Wilson 66bf24dc4d re-add e2e (again..) 2021-07-13 09:25:54 +01:00
James Wilson 74d5890ea0 Wee tidy up 2021-07-13 09:21:43 +01:00
James Wilson 61d6b620b6 Add small comment to make diff more obvious 2021-07-13 08:57:29 +01:00
James Wilson cfe7ff39bb contains_matches macro and more tests 2021-07-12 17:21:01 +01:00
James Wilson c6c262c9c5 tidyup, add more e2e tests, fix (and test a little) feed msg decoding, supporting bits 2021-07-12 13:17:24 +01:00
James Wilson f2f122285e make it obvious that unbounded channels don't need to await, and tidy up some bits 2021-07-12 10:01:23 +01:00
James Wilson 4046edc47d Merge branch 'jsdw-sharding-test-runner' into jsdw-sharding 2021-07-09 21:23:38 +01:00
James Wilson 65178de82f Just one dockerfile to simplify things a little and reduce repetition 2021-07-09 20:57:39 +01:00
James Wilson 28be68e65f Get a basic first test working, and lots of changes to supporting code to facilitate this 2021-07-09 19:41:53 +01:00
James Wilson c043393e28 Write some basic test utils to get going; time to start trying them 2021-07-09 19:41:51 +01:00
James Wilson f2adead2e9 rename binaries for clarity, and first pass of connect_to_servers test util 2021-07-09 19:41:47 +01:00
James Wilson 8bf412cad9 Begin writing the core utils that we'll use for testing things 2021-07-09 19:41:36 +01:00
James Wilson 11c0db389a Get docker-compose working again 2021-07-09 19:40:52 +01:00
James Wilson ea52d36999 make sure to gracefully handle 'close' messages 2021-07-05 15:11:20 +01:00
James Wilson 6910b4dca4 typo 2021-07-05 10:45:04 +01:00
James Wilson 750aaa06dc Tweak docker(compose) files (can't test them yet) and add a little backend documentation 2021-07-05 10:26:32 +01:00
James Wilson ea98b15def No need for LogLevel 2021-07-01 15:59:41 +01:00
James Wilson 6e4756ecc0 also add back telemetry license 2021-07-01 15:13:59 +01:00
James Wilson 3c371ef9a8 add license back to Cargo.toml files 2021-07-01 15:12:39 +01:00
James Wilson 4bb1f19085 add some doc comments 2021-07-01 09:58:18 +01:00
James Wilson 5d00445324 Make syntax of id_type identical to normal tuple struct 2021-07-01 09:38:53 +01:00
James Wilson 509542e460 fmt 2021-07-01 09:38:26 +01:00
James Wilson 16747dd66c remove a few unneeded structopt bits 2021-06-30 17:28:51 +01:00
James Wilson f7ab3292c2 Move a bunch of things around and flatten common crate 2021-06-30 17:27:10 +01:00
James Wilson 4308359feb Give things unique ID types, not aliases, to prevent mixups 2021-06-30 16:59:03 +01:00
James Wilson 06bd660599 Passing a callback isn't worth the extra code; just pass a feed thing 2021-06-30 14:20:58 +01:00
James Wilson 770739c7c8 Finish first pass update_node impl 2021-06-30 12:14:17 +01:00
James Wilson c5ca84ee9a Add some State tests, and use genesis_hash, not label, where possible 2021-06-28 11:20:48 +01:00
James Wilson 8a0eb14aca test and fix most_seen 2021-06-28 10:29:40 +01:00
James Wilson 00c6e4f4c5 simplify feed sending a little 2021-06-25 17:39:22 +01:00
James Wilson 89dfad5bbe Handle removing a node, and a shard disconnecting (bulk remove) 2021-06-25 17:21:24 +01:00
James Wilson 4f60453689 handle port more properly in real_ip filter and a little refactor 2021-06-24 20:28:30 +01:00
James Wilson fb80edba47 Update node locations when they come in, and get the real IP addr of nodes 2021-06-24 18:34:32 +01:00
James Wilson e383866322 locator shuffling around 2021-06-24 09:54:00 +01:00
James Wilson 47c12ce210 Lots more refactoring, finish add node (and almost the location updating) 2021-06-23 18:03:11 +01:00
James Wilson 2db2677217 bimap to store global ID mappings: we'll assign them in node state 2021-06-23 10:12:50 +01:00
James Wilson 7dfc582a20 feed/shard disconnects can be handled, and unbounded output to feeds 2021-06-23 09:55:28 +01:00
James Wilson 63283195ad WIP filling in core aggregator match arms and various other tweaks 2021-06-23 09:34:56 +01:00
James Wilson 83e2cee295 Remove 'remove' logging 2021-06-21 16:28:04 +01:00
James Wilson 19ef458e5b Allow multiple SystemConnects to be handled from a single node in the shard 2021-06-21 16:27:42 +01:00
James Wilson 06d131bf3f Add a note about closing ws with statuscode+reason 2021-06-21 14:23:29 +01:00