Skip to content

Commit 5e4ba6e

Browse files
authored
Merge pull request #445 from orottier/bugfix/flaky-test
Increase `sleep` to mitigate flaky test result in analyser.rs
2 parents 9c6cf63 + 0c23e54 commit 5e4ba6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/analyser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ mod tests {
319319

320320
// close context
321321
context.close_sync();
322-
std::thread::sleep(std::time::Duration::from_millis(20));
322+
std::thread::sleep(std::time::Duration::from_millis(50));
323323

324324
let mut buffer = vec![0.; 128];
325325
analyser.get_float_time_domain_data(&mut buffer); // should not crash or hang

0 commit comments

Comments
 (0)