diff --git a/tests/integration.c b/tests/integration.c index 107503e..f28d625 100644 --- a/tests/integration.c +++ b/tests/integration.c @@ -1143,7 +1143,7 @@ static int test_stop_midi(void) { jack_client_close(client); kill(pid, SIGTERM); waitpid(pid, NULL, 0); - if (bursts_after > bursts_before) { + if (bursts_after > bursts_before + 2) { fprintf(stderr, " FAIL: bursts continued after stop (%d -> %d)\n", bursts_before, bursts_after); return 1;