ICU-1141 Make sure that we wait for the right amount of time.

X-SVN-Rev: 18088
This commit is contained in:
George Rhoten 2005-06-29 18:23:22 +00:00
parent 6d1525c155
commit 3b6fc2e1fc

View file

@ -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;
}