Buggy code:
@ Ignore ( "[AS7-814]<seq2seq4repair_space>Fix<seq2seq4repair_space>or<seq2seq4repair_space>remove<seq2seq4repair_space>ignored<seq2seq4repair_space>smoke<seq2seq4repair_space>tests" ) public class RespawnTestCase { private static final int TIMEOUT = 15000 ; private static final String HOST_CONTROLLER = "host-controller" ; private static final String PROCESS_CONTROLLER = "process" ; private static final String SERVER_ONE = "server-one" ; private static final String SERVER_TWO = "server-two" ; private static final int HC_PORT = 9999 ; static ProcessController processController ; static RespawnTestCase . ProcessUtil processUtil ; @ BeforeClass public static void createProcessController ( ) throws IOException { } @ AfterClass public static void destroyProcessController ( ) { } @ Test public void testDomainRespawn ( ) throws Exception { } private void readHostControllerServers ( ) throws Exception { final ModelNode operation = new ModelNode ( ) ; operation . get ( OP ) . set ( READ_RESOURCE_OPERATION ) ; <START_BUG> operation . get ( OP_ADDR ) . set ( PathAddress . pathAddress ( PathElement . pathElement ( "host" , "local" ) ) . toModelNode ( ) ) ; <END_BUG> operation . get ( RECURSIVE ) . set ( true ) ; final long time = ( System . currentTimeMillis ( ) ) + ( RespawnTestCase . TIMEOUT ) ; boolean hasOne = false ; boolean hasTwo = false ; do { final ModelControllerClient client = Factory . create ( InetAddress . getLocalHost ( ) , RespawnTestCase . HC_PORT ) ; Thread hack = new Thread ( new Runnable ( ) { @ Override public void run ( ) { try { Thread . sleep ( 1000 ) ; } catch ( InterruptedException e ) { } StreamUtils . safeClose ( client ) ; } } ) ; hack . start ( ) ; try { final ModelNode result = client . execute ( operation ) ; if ( result . get ( OUTCOME ) . asString ( ) . equals ( SUCCESS ) ) { final ModelNode model = result . require ( RESULT ) ; hasOne = model . get ( HOST , LOCAL , RUNNING_SERVER ) . hasDefined ( RespawnTestCase . SERVER_ONE ) ; hasTwo = model . get ( HOST , LOCAL , RUNNING_SERVER ) . hasDefined ( RespawnTestCase . SERVER_TWO ) ; if ( hasOne && hasTwo ) { return ; } } } catch ( IOException e ) { } finally { hack . interrupt ( ) ; StreamUtils . safeClose ( client ) ; } Thread . sleep ( 200 ) ; } while ( ( System . currentTimeMillis ( ) ) < time ) ; Assert . assertTrue ( hasOne ) ; Assert . assertTrue ( hasTwo ) ; } private List < RespawnTestCase . RunningProcess > waitForAllProcesses ( ) throws Exception { } private abstract static class ProcessUtil { List < String > initialProcessIds ; ProcessUtil ( ) { } List < String > getInitialProcessIds ( ) { } String parseProcessId ( String proc ) { } List < RespawnTestCase . RunningProcess > getRunningProcesses ( ) { } List < String > listProcesses ( ) { } void killProcess ( RespawnTestCase . RunningProcess process ) { } abstract String getJpsCommand ( ) { } abstract String getJavaCommand ( ) { } abstract String getKillCommand ( RespawnTestCase . RunningProcess process ) { } private boolean containsProcesses ( List < RespawnTestCase . RunningProcess > runningProcesses , String ... names ) { } private RespawnTestCase . RunningProcess getProcess ( List < RespawnTestCase . RunningProcess > runningProcesses , String name ) { } private RespawnTestCase . RunningProcess getProcessById ( List < RespawnTestCase . RunningProcess > runningProcesses , String id ) { } } private static class UnixProcessUtil extends RespawnTestCase . ProcessUtil { @ Override String getJpsCommand ( ) { } @ Override String getJavaCommand ( ) { } @ Override String getKillCommand ( RespawnTestCase . RunningProcess process ) { } } private static class WindowsProcessUtil extends RespawnTestCase . ProcessUtil { @ Override String getJpsCommand ( ) { } @ Override String getJavaCommand ( ) { } @ Override String getKillCommand ( RespawnTestCase . RunningProcess process ) { } } private static class RunningProcess { final String processId ; final String process ; private RunningProcess ( String processId , String process ) { } public String getProcessId ( ) { } public String getProcess ( ) { } @ Override public String toString ( ) { } } }

Fix:
operation . get ( OP_ADDR ) . set ( PathAddress . pathAddress ( PathElement . pathElement ( "host" , "master" ) ) . toModelNode ( ) ) ;