From 0c23e5485fb9e62a3119f358b402016a055438d3 Mon Sep 17 00:00:00 2001 From: Otto Date: Thu, 1 Feb 2024 17:42:48 +0100 Subject: [PATCH] Increase `sleep` to mitigate flaky test result in analyser.rs Relates to #432 --- src/node/analyser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/analyser.rs b/src/node/analyser.rs index 129005d4..93c0472d 100644 --- a/src/node/analyser.rs +++ b/src/node/analyser.rs @@ -319,7 +319,7 @@ mod tests { // close context context.close_sync(); - std::thread::sleep(std::time::Duration::from_millis(20)); + std::thread::sleep(std::time::Duration::from_millis(50)); let mut buffer = vec![0.; 128]; analyser.get_float_time_domain_data(&mut buffer); // should not crash or hang