mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-19 21:04:41 +00:00
Cleanup logs, increase test timeouts, remove gossipsub tests (#1247)
* Cleanup logs, increase test timeouts, remove gossipsub tests * Fix compile issue Co-authored-by: Paul Hauner <paul@paulhauner.com>
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
/* These are temporarily disabled due to their non-deterministic behaviour and impending update to
|
||||
* gossipsub 1.1. We leave these here as a template for future test upgrades
|
||||
|
||||
|
||||
#![cfg(test)]
|
||||
use crate::types::GossipEncoding;
|
||||
use ::types::{BeaconBlock, EthSpec, MinimalEthSpec, Signature, SignedBeaconBlock};
|
||||
@@ -164,3 +168,4 @@ async fn test_gossipsub_full_mesh_publish() {
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
@@ -94,7 +94,7 @@ async fn test_status_rpc() {
|
||||
tokio::select! {
|
||||
_ = sender_future => {}
|
||||
_ = receiver_future => {}
|
||||
_ = delay_for(Duration::from_millis(800)) => {
|
||||
_ = delay_for(Duration::from_millis(2000)) => {
|
||||
panic!("Future timed out");
|
||||
}
|
||||
}
|
||||
@@ -204,7 +204,7 @@ async fn test_blocks_by_range_chunked_rpc() {
|
||||
tokio::select! {
|
||||
_ = sender_future => {}
|
||||
_ = receiver_future => {}
|
||||
_ = delay_for(Duration::from_millis(800)) => {
|
||||
_ = delay_for(Duration::from_millis(2000)) => {
|
||||
panic!("Future timed out");
|
||||
}
|
||||
}
|
||||
@@ -334,7 +334,7 @@ async fn test_blocks_by_range_chunked_rpc_terminates_correctly() {
|
||||
tokio::select! {
|
||||
_ = sender_future => {}
|
||||
_ = receiver_future => {}
|
||||
_ = delay_for(Duration::from_millis(50000)) => {
|
||||
_ = delay_for(Duration::from_millis(2000)) => {
|
||||
panic!("Future timed out");
|
||||
}
|
||||
}
|
||||
@@ -555,7 +555,7 @@ async fn test_blocks_by_root_chunked_rpc() {
|
||||
tokio::select! {
|
||||
_ = sender_future => {}
|
||||
_ = receiver_future => {}
|
||||
_ = delay_for(Duration::from_millis(1000)) => {
|
||||
_ = delay_for(Duration::from_millis(2000)) => {
|
||||
panic!("Future timed out");
|
||||
}
|
||||
}
|
||||
@@ -694,7 +694,7 @@ async fn test_blocks_by_root_chunked_rpc_terminates_correctly() {
|
||||
tokio::select! {
|
||||
_ = sender_future => {}
|
||||
_ = receiver_future => {}
|
||||
_ = delay_for(Duration::from_millis(1000)) => {
|
||||
_ = delay_for(Duration::from_millis(2000)) => {
|
||||
panic!("Future timed out");
|
||||
}
|
||||
}
|
||||
@@ -752,7 +752,7 @@ async fn test_goodbye_rpc() {
|
||||
tokio::select! {
|
||||
_ = sender_future => {}
|
||||
_ = receiver_future => {}
|
||||
_ = delay_for(Duration::from_millis(1000)) => {
|
||||
_ = delay_for(Duration::from_millis(2000)) => {
|
||||
panic!("Future timed out");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user