Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2011-11-23 10:09:31 +0000
committerEike Stepper2011-11-23 10:09:31 +0000
commit48043d13578fe346047829cb64fc20e4a7a6827b (patch)
tree0a1eb9812ec02c98e535918dc1ddf7693bedf93a
parente835f5cf38ba2d8ce92ee8de53bf36ba84dcfefc (diff)
downloadcdo-48043d13578fe346047829cb64fc20e4a7a6827b.tar.gz
cdo-48043d13578fe346047829cb64fc20e4a7a6827b.tar.xz
cdo-48043d13578fe346047829cb64fc20e4a7a6827b.zip
[364548] Exception "Durable locking is not enabled." during save of changes
https://bugs.eclipse.org/bugs/show_bug.cgi?id=364548
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/offline/OfflineTest.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/offline/OfflineTest.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/offline/OfflineTest.java
index 4ad21f4cff..0dcf044b2d 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/offline/OfflineTest.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/offline/OfflineTest.java
@@ -407,4 +407,22 @@ public class OfflineTest extends AbstractSyncingTest
assertEquals(12, result.size());
}
+
+ /**
+ * See bug 364548.
+ */
+ public void _testEmptyCommit() throws Exception
+ {
+ InternalRepository master = getRepository("master");
+
+ TestListener listener = new TestListener();
+ CDOSession masterSession = openSession(master.getName());
+ masterSession.addListener(listener);
+
+ CDOSession cloneSession = openSession();
+ waitForOnline(cloneSession.getRepositoryInfo());
+
+ CDOTransaction transaction = cloneSession.openTransaction();
+ transaction.commit();
+ }
}

Back to the top