Index: TestHarness4LAMS2/src/org/lamsfoundation/testharness/TestSuite.java =================================================================== RCS file: /usr/local/cvsroot/TestHarness4LAMS2/src/org/lamsfoundation/testharness/TestSuite.java,v diff -u -r1.1 -r1.2 --- TestHarness4LAMS2/src/org/lamsfoundation/testharness/TestSuite.java 31 Jul 2006 02:04:30 -0000 1.1 +++ TestHarness4LAMS2/src/org/lamsfoundation/testharness/TestSuite.java 31 Jul 2006 23:40:22 -0000 1.2 @@ -87,9 +87,11 @@ monitorTest.start(); if (learnerTest != null) learnerTest.start(); - CountDownLatch stopSignal = new CountDownLatch(1); - monitorTest.notifyMonitorToStop(stopSignal); - stopSignal.await(); + if(monitorTest != null){ + CountDownLatch stopSignal = new CountDownLatch(1); + monitorTest.notifyMonitorToStop(stopSignal); + stopSignal.await(); + } finished = true; log.info("Finished test suite "+suiteIndex); } catch(Exception e) {//All the exceptions which happened during test stop propagation here