juergen 2003/11/15 05:56:16
Modified:
testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor
TProcessors.java
Log:
supress the first two println in case of a connection failure.
Revision Changes Path
1.71 +5 -5
jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java
Index: TProcessors.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- TProcessors.java 10 Nov 2003 10:12:44 -0000 1.70
+++ TProcessors.java 15 Nov 2003 13:56:16 -0000 1.71
@@ -691,7 +691,7 @@
System.out.println(" password=" + password);
throw e;
} else {
- System.out.println(Thread.currentThread().getName() + ":
retry connection " + i + " out of " + MAX);
+ if (i > 1)
System.out.println(Thread.currentThread().getName() + ": retry connection " + i + "
out of " + MAX);
try {Thread.currentThread().sleep(i*i);} catch(
InterruptedException x ) {}
client = new HttpClientExtended(user, password); // the old
client might be brocken
continue;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]