]> granicus.if.org Git - icu/commitdiff
ICU-11363 Thread#join() to the main test thread after start.
authorYoshito Umaoka <y.umaoka@gmail.com>
Tue, 2 Dec 2014 23:08:38 +0000 (23:08 +0000)
committerYoshito Umaoka <y.umaoka@gmail.com>
Tue, 2 Dec 2014 23:08:38 +0000 (23:08 +0000)
X-SVN-Rev: 36802

icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/DateFormatRegressionTest.java

index eacd70519d1cc1dfc565b274d6f782188c1b71dd..9563fccad954635aaf789c42e0af46409ead1789 100644 (file)
@@ -1479,5 +1479,13 @@ public class DateFormatRegressionTest extends com.ibm.icu.dev.test.TestFmwk {
         for (Thread t : threads) {
             t.start();
         }
+
+        for (Thread t : threads) {
+            try {
+                t.join();
+            } catch (InterruptedException e) {
+                errln(e.toString());
+            }
+        }
     }
 }