From a90281ad5c070bceac3c3fc6b271316be715fbd3 Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Tue, 24 Sep 2019 20:01:04 -0600 Subject: [PATCH] Reduce poll sleep (#6068) (#6073) * Reduce sleep in poll_for_signature_confirmations * Unignore test_repairman_catchup --- client/src/rpc_client.rs | 2 +- local_cluster/src/tests/local_cluster.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/rpc_client.rs b/client/src/rpc_client.rs index b0266a16d3..d1e2f8c17c 100644 --- a/client/src/rpc_client.rs +++ b/client/src/rpc_client.rs @@ -588,7 +588,7 @@ impl RpcClient { return Err(io::Error::new(io::ErrorKind::Other, "signature not found")); } } - sleep(Duration::from_secs(1)); + sleep(Duration::from_millis(250)); } Ok(confirmed_blocks) } diff --git a/local_cluster/src/tests/local_cluster.rs b/local_cluster/src/tests/local_cluster.rs index 6c24ffa5ed..42e21e736a 100644 --- a/local_cluster/src/tests/local_cluster.rs +++ b/local_cluster/src/tests/local_cluster.rs @@ -582,7 +582,6 @@ fn test_faulty_node(faulty_node_type: BroadcastStageType) { } #[test] -#[ignore] fn test_repairman_catchup() { solana_logger::setup(); error!("test_repairman_catchup");