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:
Vadim Zeitlin
2019-11-13 15:39:36 +01:00
parent f1aa3c1c9a
commit c26353f13f

View File

@@ -1743,6 +1743,8 @@ TEST_CASE("wxDateTime::UNow", "[datetime][now][unow]")
gotMS = true; gotMS = true;
break; break;
} }
wxMilliSleep(123);
} }
CHECK( gotMS ); CHECK( gotMS );