Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2006-08-21 16:55:31 +0000
committerEike Stepper2006-08-21 16:55:31 +0000
commitabfedc7229e6dacf0c64e22dac924e00d08b0d24 (patch)
treecfe721d0013046b606ca51ec67001e13b3e32750 /plugins/org.eclipse.emf.cdo.tests/src/org
parentbfe020e9b49da7da397aa9be96d57fd77babe53e (diff)
downloadcdo-abfedc7229e6dacf0c64e22dac924e00d08b0d24.tar.gz
cdo-abfedc7229e6dacf0c64e22dac924e00d08b0d24.tar.xz
cdo-abfedc7229e6dacf0c64e22dac924e00d08b0d24.zip
[154522] Copy from CDO resource to XMI resource does not work
https://bugs.eclipse.org/bugs/show_bug.cgi?id=154389
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests/src/org')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/NotificationTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/NotificationTest.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/NotificationTest.java
index 593bab886a..3497f2069b 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/NotificationTest.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/NotificationTest.java
@@ -165,10 +165,10 @@ public class NotificationTest extends AbstractModel1Test
long start = System.currentTimeMillis();
while (System.currentTimeMillis() - start < TIME_LIMIT)
{
- if (notificationReceived[0]) break;
+ if (notificationReceived[0]) return;
Thread.sleep(1);
}
- if (!notificationReceived[0]) fail();
+ fail("Notification did not arrive within " + TIME_LIMIT + " millis");
}
}

Back to the top