diff --git a/txframework/src/test/java/org/jboss/narayana/txframework/functional/ATBridgeTest.java b/txframework/src/test/java/org/jboss/narayana/txframework/functional/ATBridgeTest.java index 7b46df7d11..b008ef8544 100644 --- a/txframework/src/test/java/org/jboss/narayana/txframework/functional/ATBridgeTest.java +++ b/txframework/src/test/java/org/jboss/narayana/txframework/functional/ATBridgeTest.java @@ -38,6 +38,9 @@ public void testSimple() throws Exception client.incrementCounter(1); ut.commit(); + //JBTM-1293 + Thread.sleep(3000); + ut.begin(); int counter = client.getCounter(); ut.commit(); @@ -52,6 +55,9 @@ public void testClientDrivenRollback() throws Exception client.incrementCounter(1); ut.rollback(); + //JBTM-1293 + Thread.sleep(3000); + ut.begin(); int counter = client.getCounter(); ut.commit();