Pin tokio to 1.6.1
Able to reproduce the test hang when having run cargo update. This put tokio to 1.7.0
Moving back to 1.6.1 caused the issue to disapear.
Looks like tokio 1.7 causes a hang whereas 1.6.1 appears to work fine.
TODO investigate 1.7 bug
@@ -7,7 +7,7 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-tokio = { version = "1.0.2", features = ["full", "macros"] }
+tokio = { version = "^1.6.1", features = ["full", "macros"] }
tokio-util = { version = "0.6.1", features = ["full"]}
tokio-stream = "0.1.2"
bytes = "1.0.0"
