Author: clebert.suconic(a)jboss.com
Date: 2011-03-11 09:05:24 -0500 (Fri, 11 Mar 2011)
New Revision: 10319
Modified:
branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/DuplicateDetectionTest.java
Log:
fixing test
Modified:
branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/DuplicateDetectionTest.java
===================================================================
---
branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/DuplicateDetectionTest.java 2011-03-11
12:56:27 UTC (rev 10318)
+++
branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/DuplicateDetectionTest.java 2011-03-11
14:05:24 UTC (rev 10319)
@@ -582,7 +582,7 @@
}
catch (HornetQException e)
{
- assertEquals(e.getCode(), HornetQException.TRANSACTION_ROLLED_BACK);
+ assertEquals(e.getCode(), HornetQException.DUPLICATE_ID_REJECTED);
session.rollback();
}
@@ -1725,7 +1725,7 @@
}
catch (HornetQException e)
{
- assertEquals(e.getCode(), HornetQException.TRANSACTION_ROLLED_BACK);
+ assertEquals(e.getCode(), HornetQException.DUPLICATE_ID_REJECTED);
session.rollback();
}
@@ -1742,7 +1742,7 @@
}
catch (HornetQException e)
{
- assertEquals(e.getCode(), HornetQException.TRANSACTION_ROLLED_BACK);
+ assertEquals(e.getCode(), HornetQException.DUPLICATE_ID_REJECTED);
session.rollback();
}
Show replies by date