1616// under the License.
1717package com .cloud .utils .testcase ;
1818
19- import java .nio .channels .ClosedChannelException ;
20- import java .util .Random ;
21-
22- import org .apache .log4j .Logger ;
23-
2419import com .cloud .utils .nio .HandlerFactory ;
2520import com .cloud .utils .nio .Link ;
2621import com .cloud .utils .nio .NioClient ;
2722import com .cloud .utils .nio .NioServer ;
2823import com .cloud .utils .nio .Task ;
2924import com .cloud .utils .nio .Task .Type ;
30-
31- import org .junit .Assert ;
3225import junit .framework .TestCase ;
26+ import org .apache .log4j .Logger ;
27+ import org .junit .Assert ;
28+
29+ import java .nio .channels .ClosedChannelException ;
30+ import java .util .Random ;
3331
3432/**
3533 *
@@ -83,6 +81,7 @@ public void setUp() {
8381
8482 while (_clientLink == null ) {
8583 try {
84+ s_logger .debug ("Link is not up! Waiting ..." );
8685 Thread .sleep (1000 );
8786 } catch (InterruptedException e ) {
8887 // TODO Auto-generated catch block
@@ -94,6 +93,7 @@ public void setUp() {
9493 public void tearDown () {
9594 while (!isTestsDone ()) {
9695 try {
96+ s_logger .debug (this ._completedCount + "/" + this ._testCount + " tests done. Waiting for completion" );
9797 Thread .sleep (1000 );
9898 } catch (InterruptedException e ) {
9999 // TODO Auto-generated catch block
0 commit comments