import java.util.logging.Level;
import java.util.logging.Logger;
+import junit.framework.Assert;
import junit.framework.TestCase;
import org.apache.derby.drda.NetworkServerControl;
lWaited += POLL_INTERVAL;
if (lWaited > MAX_WAIT_TIME) {
- throw new RuntimeException(
- "Derby database did not start within " + MAX_WAIT_TIME +
- "ms");
+ Assert.fail("Derby database did not start within " +
+ MAX_WAIT_TIME + "ms");
}
}
}