mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SRT: fix utest failed
This commit is contained in:
parent
e13d16439e
commit
b566182f0b
2 changed files with 11 additions and 2 deletions
|
@ -2115,6 +2115,9 @@ VOID TEST(ConfigUnitTest, CheckDefaultValuesVhost)
|
|||
VOID TEST(ConfigUnitTest, CheckDefaultValuesGlobal)
|
||||
{
|
||||
if (true) {
|
||||
// Schedule thread once, to update last_clock in state-thread.
|
||||
srs_usleep(1);
|
||||
|
||||
srs_utime_t t0 = srs_update_system_time();
|
||||
srs_usleep(10 * SRS_UTIME_MILLISECONDS);
|
||||
srs_utime_t t1 = srs_update_system_time();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue