summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2006-08-21 12:55:31 (EDT)
committerEike Stepper2006-08-21 12:55:31 (EDT)
commitabfedc7229e6dacf0c64e22dac924e00d08b0d24 (patch)
treecfe721d0013046b606ca51ec67001e13b3e32750
parentbfe020e9b49da7da397aa9be96d57fd77babe53e (diff)
downloadcdo-abfedc7229e6dacf0c64e22dac924e00d08b0d24.zip
cdo-abfedc7229e6dacf0c64e22dac924e00d08b0d24.tar.gz
cdo-abfedc7229e6dacf0c64e22dac924e00d08b0d24.tar.bz2
[154522] Copy from CDO resource to XMI resource does not work
https://bugs.eclipse.org/bugs/show_bug.cgi?id=154389
-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 593bab8..3497f20 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");
}
}