Add another workaround for failures in wxDateTime::UNow test
If current time doesn't have the milliseconds parts, we need to sleep for a little before retrying.
This commit is contained in:
parent
f1aa3c1c9a
commit
c26353f13f
1 changed files with 2 additions and 0 deletions
|
|
@ -1743,6 +1743,8 @@ TEST_CASE("wxDateTime::UNow", "[datetime][now][unow]")
|
|||
gotMS = true;
|
||||
break;
|
||||
}
|
||||
|
||||
wxMilliSleep(123);
|
||||
}
|
||||
|
||||
CHECK( gotMS );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue