Drop the read lock in the remaining tasks logger (#193)

* Drop the read lock in the remaining tasks logger

* Increase substrate's timeout
This commit is contained in:
Omar
2025-10-21 13:28:51 +03:00
committed by GitHub
parent 260ac5d98e
commit 48e7d69158
2 changed files with 2 additions and 1 deletions
@@ -205,6 +205,7 @@ pub async fn handle_differential_tests(
?remaining_tasks, ?remaining_tasks,
"Remaining Tests" "Remaining Tests"
); );
drop(remaining_tasks);
tokio::time::sleep(Duration::from_secs(10)).await tokio::time::sleep(Duration::from_secs(10)).await
} }
}); });
@@ -218,7 +218,7 @@ impl SubstrateNode {
} }
}, },
ProcessReadinessWaitBehavior::TimeBoundedWaitFunction { ProcessReadinessWaitBehavior::TimeBoundedWaitFunction {
max_wait_duration: Duration::from_secs(30), max_wait_duration: Duration::from_secs(90),
check_function: Box::new(|_, stderr_line| match stderr_line { check_function: Box::new(|_, stderr_line| match stderr_line {
Some(line) => Ok(line.contains(Self::SUBSTRATE_READY_MARKER)), Some(line) => Ok(line.contains(Self::SUBSTRATE_READY_MARKER)),
None => Ok(false), None => Ok(false),