17 Commits
Author SHA1 Message Date
travis laduke 2bec140009 cargo fmt 2023-03-23 16:06:12 -07:00
travis laduke 46a11eb0b4 Update integration tests to use the local url 2023-03-22 13:45:59 -07:00
Erik Hollensbe 6263c0a81c Reduce test iterations to 1000 for stability purposes
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-09 09:30:20 -07:00
Erik Hollensbe 816e9f27fe Move get_listen_ips test under all namespace
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-09 09:29:42 -07:00
Erik Hollensbe 8b1c7d9ac7 use the ctor crate to simplify tracing setup
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-09 09:03:39 -07:00
Erik Hollensbe f44305d092 move HostsFile type away from service definition
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-09 07:58:25 -07:00
Erik Hollensbe 6dc1f3def3 first step of cleaning up integration tests: sort into files
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-09 07:43:46 -07:00
Erik Hollensbe 670d0c0f1d fix test_get_listen_ip integration test
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-02 03:53:36 -07:00
Erik Hollensbe 82dcc02c60 Fix a bunch of issues with tests
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-03-30 11:45:48 -07:00
Erik Hollensbe 1a3b5b0c66 test compilation fixes & some tweaks
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-03-28 16:38:45 -07:00
Erik Hollensbe 64bae5be1c Changing logging implementation to use tracing package
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-03-25 14:30:34 -07:00
Erik Hollensbe 2e13e334de Add parameterized log levels in code; adjust across board
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-03-24 22:04:46 -07:00
Erik Hollensbe d1036b7799 Rebuild authority code
The authority code could be affectionately referred to as a "flaming
trash pile" prior to this patch. It still has warts but I feel it's much
better now.

Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-03-24 14:37:24 -07:00
Erik Hollensbe 693920d502 Fix timing issues with tests
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-02-22 23:45:12 -08:00
Erik Hollensbe b535c300ac Fix hard-coded domain. entries in integration tests
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-02-21 14:46:38 -08:00
Erik Hollensbe 5e54f394f6 Reduce test sleeps for great justice
Speeds up test performance greatly

Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-02-20 21:32:22 -08:00
Erik Hollensbe 08a1d56157 Reorganization of tree, tests
This commit reorganizes the tree to make it easier to test individual
library functionality within it. Notably it:

- Moves everything under a library
- Moves zeronsd to the `src/bin` directory, with a small boot stub
- Moves the integration tests to `tests/`, with the service abstraction
  + library tooling for the tests in one spot.
- It also rewrites significant parts of the testing functionality to use
  tokio::test, with all the async functionality that needed to change to
  go along with that.

Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-02-20 20:36:07 -08:00