From e050c49847d189cab94af558ff4e4a0978479b6a Mon Sep 17 00:00:00 2001 From: Roland Sherwin Date: Thu, 19 Oct 2023 13:57:03 +0530 Subject: [PATCH] fix(test): enable logging for gossip tests --- sn_node/tests/nodes_rewards.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sn_node/tests/nodes_rewards.rs b/sn_node/tests/nodes_rewards.rs index e156dd3599..bbc07238d9 100644 --- a/sn_node/tests/nodes_rewards.rs +++ b/sn_node/tests/nodes_rewards.rs @@ -94,6 +94,8 @@ async fn nodes_rewards_for_storing_registers() -> Result<()> { #[tokio::test] async fn nodes_rewards_for_chunks_notifs_over_gossipsub() -> Result<()> { + let _log_guards = init_logging_single_threaded_tokio("nodes_rewards"); + let paying_wallet_balance = 10_000_000_111_000; let paying_wallet_dir = TempDir::new()?; let chunks_dir = TempDir::new()?; @@ -126,6 +128,8 @@ async fn nodes_rewards_for_chunks_notifs_over_gossipsub() -> Result<()> { #[tokio::test] async fn nodes_rewards_for_register_notifs_over_gossipsub() -> Result<()> { + let _log_guards = init_logging_single_threaded_tokio("nodes_rewards"); + let paying_wallet_balance = 10_000_000_222_000; let paying_wallet_dir = TempDir::new()?;