activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r903180 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ExpiredMessagesTest.java
Date Tue, 26 Jan 2010 11:35:33 GMT
Author: gtully
Date: Tue Jan 26 11:35:33 2010
New Revision: 903180

URL: http://svn.apache.org/viewvc?rev=903180&view=rev
Log:
instancenotfound exception wrapped in undeclaredthrowable by proxy, just ignore all for the
wait period so slow machines can let it pass eventually

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ExpiredMessagesTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ExpiredMessagesTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ExpiredMessagesTest.java?rev=903180&r1=903179&r2=903180&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ExpiredMessagesTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ExpiredMessagesTest.java
Tue Jan 26 11:35:33 2010
@@ -275,7 +275,7 @@
                             + view.getExpiredCount());
 
                     result = view.getQueueSize() == 0;
-                } catch (InstanceNotFoundException expectedOnSlowMachines) {
+                } catch (Exception notFoundExpectedOnSlowMachines) {
                 }
                 return result;
             }



Mime
View raw message