[New] Default ignore if persistence unit exists

Can be enforced by setting li.strolch.xmlpers.allowOverwriteOnCreate property
This commit is contained in:
Robert von Burg 2022-05-03 06:54:42 +02:00
parent 73721d65a6
commit fd7a5f4034
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ public class LockingTest extends AbstractPersistenceTest {
properties.setProperty(PersistenceConstants.PROP_XML_IO_MOD, IoMode.DOM.name());
properties.setProperty(PersistenceConstants.PROP_BASEPATH, BASE_PATH + IoMode.DOM.name());
properties.setProperty(PersistenceConstants.PROP_LOCK_TIME_MILLIS, Long.toString(500L));
properties.setProperty(PersistenceConstants.PROP_ALLOW_OVERWRITE_ON_CREATE, Boolean.FALSE.toString());
setup(properties);
this.waitForWorkersTime = LockableObject.getLockTime() + 300L;