Skip to content

Commit

Permalink
Merge pull request #445 from orottier/bugfix/flaky-test
Browse files Browse the repository at this point in the history
Increase `sleep` to mitigate flaky test result in analyser.rs
  • Loading branch information
orottier authored Feb 2, 2024
2 parents 9c6cf63 + 0c23e54 commit 5e4ba6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/analyser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e4ba6e

Please sign in to comment.