[Unit-tests] Improve stability of some tests.

This commit is contained in:
Andrey Volk
2022-08-24 17:19:20 +03:00
parent 56fc995325
commit 23eeb4ae75
4 changed files with 24 additions and 6 deletions

View File

@@ -146,7 +146,7 @@ FST_TEST_BEGIN(tts_time)
} while (status == SWITCH_STATUS_SUCCESS);
fst_check(read = sample_rate / interval * 3); // samples of 3 second
fst_check_duration(3000, 750);
fst_check_duration(3000, 1000);
switch_core_speech_close(&sh, &flags);
}
FST_TEST_END()