mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-1141 Make sure that we wait for the right amount of time.
X-SVN-Rev: 18088
This commit is contained in:
parent
6d1525c155
commit
3b6fc2e1fc
1 changed files with 1 additions and 1 deletions
|
@ -1109,7 +1109,7 @@ void MultithreadTest::TestThreadedIntl()
|
|||
/* Spin until the test threads complete. */
|
||||
stillRunning = FALSE;
|
||||
endTime = Calendar::getNow();
|
||||
if ((((int32_t)(endTime - startTime)%U_MILLIS_PER_MINUTE)/U_MILLIS_PER_SECOND) > PATIENCE_SECONDS) {
|
||||
if (((int32_t)(endTime - startTime)/U_MILLIS_PER_SECOND) > PATIENCE_SECONDS) {
|
||||
errln("Patience exceeded. Test is taking too long.");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue