Author: gaohoward
Date: 2012-02-21 09:06:10 -0500 (Tue, 21 Feb 2012)
New Revision: 12155
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/jms/client/StoreConfigTest.java
Log:
fix test failure
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/jms/client/StoreConfigTest.java
===================================================================
---
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/jms/client/StoreConfigTest.java 2012-02-21
13:03:46 UTC (rev 12154)
+++
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/jms/client/StoreConfigTest.java 2012-02-21
14:06:10 UTC (rev 12155)
@@ -79,7 +79,7 @@
jmsServer.addConnectionFactoryToJNDI("np", "/someCF");
fail("Failure expected and the API let duplicates");
}
- catch (HornetQException expected)
+ catch (NamingException expected)
{
// expected
}
@@ -107,7 +107,7 @@
jmsServer.addConnectionFactoryToJNDI("tst", "/newJNDI");
fail("Failure expected and the API let duplicates");
}
- catch (HornetQException expected)
+ catch (NamingException expected)
{
// expected
}
Show replies by date