Buggy code:
public class SecureServerTest extends BaseJDBCTestCase { private static final String BASIC = "functionTests//tests//derbynet//SecureServerTest.derby.properties" ; private static final String SST_USER_NAME = "MARY" ; private static final String SST_PASSWORD = "marypwd" ; private static final String HOSTW = "0.0.0.0" ; private static final String ALTW = "0.00.000.0" ; private static final String IPV6W = "::" ; public static final class Outcome { private boolean _serverShouldComeUp ; private String _expectedServerOutput ; public Outcome ( boolean serverShouldComeUp , String expectedServerOutput ) { } public boolean serverShouldComeUp ( ) { } public String expectedServerOutput ( ) { } } private static final SecureServerTest . Outcome RUNNING_SECURITY_NOT_BOOTED = new SecureServerTest . Outcome ( true , "" ) ; private static final SecureServerTest . Outcome RUNNING_SECURITY_BOOTED = new SecureServerTest . Outcome ( true , SecureServerTest . serverBootedOK ( ) ) ; private NetworkServerTestSetup nsTestSetup ; private boolean _unsecureSet ; private boolean _authenticationRequired ; private String _customDerbyProperties ; private String _wildCardHost ; private SecureServerTest . Outcome _outcome ; public SecureServerTest ( boolean unsecureSet , boolean authenticationRequired , String customDerbyProperties , String wildCardHost , SecureServerTest . Outcome outcome ) { } public static Test suite ( ) { } private static Test decorateTest ( boolean unsecureSet , boolean authenticationRequired , String customDerbyProperties , String wildCardHost , SecureServerTest . Outcome outcome ) { } private static String [ ] getStartupArgs ( boolean setUnsecureOption , String wildCardHost ) { } private static String [ ] getStartupProperties ( boolean authenticationRequired , String customDerbyProperties ) { } public void testServerStartup ( ) throws Exception { } private void disableTracing ( ) throws Exception { } private void setTraceDirectory ( ) throws Exception { } private void connectToServer ( ) throws Exception { } private void runsysinfo ( ) throws Exception { } private void enableTracing ( ) throws Exception { } public String toString ( ) { } private String runServerCommand ( String commandSpecifics ) throws Exception { String portNumber = Integer . toString ( getTestConfiguration ( ) . getPort ( ) ) ; StringBuffer buffer = new StringBuffer ( ) ; String classpath = getSystemProperty ( "java.class.path" ) ; buffer . append ( ( ( getJavaExecutableName ( ) ) + "<seq2seq4repair_space>-classpath<seq2seq4repair_space>" ) ) ; buffer . append ( classpath ) ; buffer . append ( "<seq2seq4repair_space>-Demma.verbosity.level=silent" ) ; buffer . append ( ( ( ( "<seq2seq4repair_space>org.apache.derby.drda.NetworkServerControl<seq2seq4repair_space>-p<seq2seq4repair_space>" + portNumber ) + "<seq2seq4repair_space>" ) + commandSpecifics ) ) ; final String command = buffer . toString ( ) ; println ( ( "Server<seq2seq4repair_space>command<seq2seq4repair_space>is<seq2seq4repair_space>" + command ) ) ; Process serverProcess = ( ( Process ) ( AccessController . doPrivileged ( new PrivilegedAction ( ) { public Object run ( ) { Process result = null ; try { result = Runtime . getRuntime ( ) . exec ( command ) ; } catch ( Exception ex ) { ex . printStackTrace ( ) ; } return result ; } } ) ) ) ; SpawnedProcess spawned = new SpawnedProcess ( serverProcess , commandSpecifics ) ; <START_BUG> assertEquals ( 0 , spawned . complete ( false ) ) ; <END_BUG> return spawned . getFullServerOutput ( ) ; } private String getServerOutput ( ) throws Exception { } private static String serverBootedOK ( ) { } private boolean serverCameUp ( ) throws Exception { } }

Fix:
assertEquals ( 0 , spawned . complete ( ) ) ;