You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2010/01/26 12:47:42 UTC

svn commit: r903186 - /activemq/branches/activemq-5.3/activemq-core/src/test/java/org/apache/activemq/usecases/ExpiredMessagesTest.java

Author: gtully
Date: Tue Jan 26 11:47:42 2010
New Revision: 903186

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

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

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