diff --git a/li.strolch.service/src/test/java/li/strolch/service/TxTest.java b/li.strolch.service/src/test/java/li/strolch/service/TxTest.java index 8691a556b..bce536f53 100644 --- a/li.strolch.service/src/test/java/li/strolch/service/TxTest.java +++ b/li.strolch.service/src/test/java/li/strolch/service/TxTest.java @@ -12,6 +12,7 @@ import li.strolch.service.api.ServiceArgument; import li.strolch.service.api.ServiceResult; import li.strolch.service.test.AbstractRealmServiceTest; +import org.junit.Ignore; import org.junit.Test; import ch.eitchnet.utils.dbc.DBC; @@ -37,7 +38,8 @@ public class TxTest extends AbstractRealmServiceTest { } @Test - public void shouldNotAllowCommandsOnDoNothibg() { + @Ignore("We have to re-think this. It does not work, throwing an exception if commands are registered on a read-only TX as then we don't know if we want to roll back or not - we probably need a ROLLBACK_ON_ERROR or something") + public void shouldNotAllowCommandsOnDoNothing() { runServiceInAllRealmTypes(ReadonlyFailService.class, new ServiceArgument()); }