Skip to content

Commit

Permalink
Increase sleep to mitigate flaky test result in analyser.rs
Browse files Browse the repository at this point in the history
Relates to #432
  • Loading branch information
orottier committed Feb 1, 2024
1 parent 0185ed8 commit 0c23e54
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 0c23e54

Please sign in to comment.