Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.support.test.util/src')
-rw-r--r--plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/TestUtil.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/TestUtil.java b/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/TestUtil.java
index ad2a778093..954f96e4f6 100644
--- a/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/TestUtil.java
+++ b/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/TestUtil.java
@@ -74,9 +74,13 @@ public class TestUtil {
OseeInfo.putValue(OseeInfo.DB_TYPE_KEY, set ? DEMO_DB_TYPE : "");
}
- public static void sleep(long milliseconds) throws Exception {
+ public static void sleep(long milliseconds) {
// System.out.println("Sleeping " + milliseconds);
- Thread.sleep(milliseconds);
+ try {
+ Thread.sleep(milliseconds);
+ } catch (InterruptedException ex) {
+ // do nothing
+ }
// System.out.println("Awake");
}

Back to the top