Make tests much easier to debug

- Don't panic on the mutex in all tests if a single test fails
- Give a more helpful message if a test handler wasn't registered
- Enable env_logger for tests
This commit is contained in:
Joshua Nelson
2021-01-03 20:20:19 -05:00
parent 6da035b669
commit 498b7137c2
3 changed files with 22 additions and 6 deletions

View File

@@ -170,8 +170,6 @@ pub(crate) fn connect(
body: SizedReader,
previous: Option<Arc<Response>>,
) -> Result<Response, Error> {
//
let host = unit
.url
.host_str()