activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r961171 - /activemq/sandbox/activemq-apollo-actor/activemq-stomp/src/test/scala/org/apache/activemq/apollo/stomp/perf/StompLoadClient.scala
Date Wed, 07 Jul 2010 04:13:35 GMT
Author: chirino
Date: Wed Jul  7 04:13:34 2010
New Revision: 961171

URL: http://svn.apache.org/viewvc?rev=961171&view=rev
Log:
Better error handling.

Modified:
    activemq/sandbox/activemq-apollo-actor/activemq-stomp/src/test/scala/org/apache/activemq/apollo/stomp/perf/StompLoadClient.scala

Modified: activemq/sandbox/activemq-apollo-actor/activemq-stomp/src/test/scala/org/apache/activemq/apollo/stomp/perf/StompLoadClient.scala
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-apollo-actor/activemq-stomp/src/test/scala/org/apache/activemq/apollo/stomp/perf/StompLoadClient.scala?rev=961171&r1=961170&r2=961171&view=diff
==============================================================================
--- activemq/sandbox/activemq-apollo-actor/activemq-stomp/src/test/scala/org/apache/activemq/apollo/stomp/perf/StompLoadClient.scala
(original)
+++ activemq/sandbox/activemq-apollo-actor/activemq-stomp/src/test/scala/org/apache/activemq/apollo/stomp/perf/StompLoadClient.scala
Wed Jul  7 04:13:34 2010
@@ -267,7 +267,11 @@ object StompLoadClient {
         case e: Throwable =>
           if(!done.get) {
             println("failure occured: "+e)
-            Thread.sleep(1000)
+            try {
+              Thread.sleep(1000)
+            } catch {
+              case _ => // ignore
+            }
           }
       } finally {
         try {



Mime
View raw message