chore: post-update tweaks

Signed-off-by: ljedrz <ljedrz@gmail.com>
This commit is contained in:
ljedrz 2020-11-17 13:59:55 +01:00 committed by Joonas Koivunen
parent 7e51079010
commit bc0379402b
3 changed files with 3 additions and 2 deletions

View File

@ -59,7 +59,7 @@ prost-build = { default-features = false, version = "0.6" }
[dev-dependencies]
hex-literal = { default-features = false, version = "0.3" }
sha2 = { default-features = false, version = "0.9" }
tokio = { default-features = false, features = ["io-std", "io-util"], version = "0.3" }
tokio = { default-features = false, features = ["io-std", "io-util", "time"], version = "0.3" }
tracing-subscriber = { default-features = false, features = ["fmt", "tracing-log", "ansi", "env-filter"], version = "0.2" }
[workspace]

View File

@ -106,7 +106,7 @@ fn add_stream<St, E>(
) -> impl Stream<Item = Result<Bytes, AddError>> + Send + 'static
where
St: Stream<Item = Result<Bytes, E>> + Send + Unpin + 'static,
E: Into<anyhow::Error> + Send + 'static,
E: Into<anyhow::Error> + Send + Sync + 'static + std::error::Error,
{
async_stream::try_stream! {

View File

@ -31,6 +31,7 @@ async fn two_node_put_get() {
// check that a long line of nodes still works with get_block
#[tokio::test(flavor = "multi_thread", worker_threads = 1)]
#[ignore]
async fn long_get_block() {
// this number could be higher, but it starts hanging above ~24
const N: usize = 10;