Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-06-12 07:10:01 +0000
committerEike Stepper2008-06-12 07:10:01 +0000
commit8300e9ed36dfd2108681bc6b9ce8d07174568917 (patch)
treebde747c4612f4bcedb2c0642560d7c89907d6fb5 /plugins
parent00f8139457775472975dd1f2eba0d7d6a4877aa3 (diff)
downloadcdo-8300e9ed36dfd2108681bc6b9ce8d07174568917.tar.gz
cdo-8300e9ed36dfd2108681bc6b9ce8d07174568917.tar.xz
cdo-8300e9ed36dfd2108681bc6b9ce8d07174568917.zip
[236784] Invalidate and cache problem
https://bugs.eclipse.org/bugs/show_bug.cgi?id=236784
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/SessionTest.java2
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/protocol/InvalidationIndication.java1
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/SessionTest.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/SessionTest.java
index 0b1a84e601..b5b2e4a332 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/SessionTest.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/SessionTest.java
@@ -73,8 +73,6 @@ public class SessionTest extends AbstractCDOTest
msg("\n\n\n\n\n\n\n\n\n\n\nCommitting");
transactionB.commit();
- Thread.sleep(200);
-
msg("Checking after commit");
boolean timedOut = new PollingTimeOuter(200, 100)
{
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/protocol/InvalidationIndication.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/protocol/InvalidationIndication.java
index a44290171d..347ff33451 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/protocol/InvalidationIndication.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/protocol/InvalidationIndication.java
@@ -65,6 +65,7 @@ public class InvalidationIndication extends Indication
dirtyOIDs.add(dirtyOID);
}
+ // ConcurrencyUtil.sleep(100);
session.notifyInvalidation(timeStamp, dirtyOIDs, null);
}

Back to the top