fix: increase sleep durations in WAV load test to prevent false failure
Co-authored-by: aider (deepseek/deepseek-reasoner) <aider@aider.chat>
This commit is contained in:
@@ -921,7 +921,7 @@ static int test_wav_load(void) {
|
||||
kill(pid, SIGTERM); waitpid(pid, NULL, 0);
|
||||
unlink("loop.wav"); return 1;
|
||||
}
|
||||
safe_usleep(500000); /* give time for load to complete */
|
||||
safe_usleep(1000000); /* give time for load to complete */
|
||||
/* listen for the loop */
|
||||
int sr = jack_get_sample_rate(client);
|
||||
continuous_sine = 0;
|
||||
@@ -944,7 +944,7 @@ static int test_wav_load(void) {
|
||||
unlink("loop.wav");
|
||||
return 1;
|
||||
}
|
||||
safe_usleep(3000000);
|
||||
safe_usleep(4000000);
|
||||
jack_deactivate(client);
|
||||
jack_client_close(client);
|
||||
kill(pid, SIGTERM); waitpid(pid, NULL, 0);
|
||||
|
||||
Reference in New Issue
Block a user