gedi-geode-extensions-core/src/main/java/gedi/solutions/geode/qa/GUnit.java
public void waitForMemberStart(String member, JMX jmx)
	{
		boolean isRunning =  false;
		boolean printedStartMember  = false;
		int count = 0;
		while(!isRunning)
		{
			try{ isRunning = GemFireInspector.checkMemberStatus(member,jmx); }
			catch(Exception e) {Debugger.printWarn(e);}
			
			if(!printedStartMember )
			{
				Debugger.println("Waiting for member:"+member+".  Starting member to continue. "+
			            " You can perform a gfsh status command to confirm whether the member is running");
					printedStartMember = true;
			}
			
			
			try{ delay();}catch(Exception e){}
			
			 if(count > retryCount)
			 {
				 throw new RuntimeException("member:"+member+" did not start after "
			 +retryCount+" checks with a delay of "+sleepDelay+" milliseconds");
			 }
			 
			count++;
		}
	}
public void waitForMemberStart(String member, JMX jmx)
	{
		boolean isRunning =  false;
		boolean printedStartMember  = false;
		int count = 0;
		while(!isRunning)
		{
			try{ isRunning = GemFireInspector.checkMemberStatus(member,jmx); }
			catch(Exception e) {Debugger.printWarn(e);}
			
			if(!printedStartMember )
			{
				Debugger.println("Waiting for member:"+member+".  Starting member to continue. "+
			            " You can perform a gfsh status command to confirm whether the member is running");
					printedStartMember = true;
			}
			
			
			try{ delay();}catch(Exception e){}
			
			 if(count > retryCount)
			 {
				 throw new RuntimeException("member:"+member+" did not start after "
			 +retryCount+" checks with a delay of "+sleepDelay+" milliseconds");
			 }
			 
			count++;
		}
	}
public void waitForMemberStart ( String member , JMX jmx ) { boolean isRunning = false ; boolean printedStartMember = false ; int count = 0 ; while ( ! isRunning ) { try { isRunning = GemFireInspector . checkMemberStatus ( member , jmx ) ; } catch ( Exception e ) { Debugger . printWarn ( e ) ; } if ( ! printedStartMember ) { Debugger . println ( "Waiting for member:" + member + ".  Starting member to continue. " + " You can perform a gfsh status command to confirm whether the member is running" ) ; printedStartMember = true ; } try { delay ( ) ; } catch ( Exception e ) { } if ( count > retryCount ) { throw new RuntimeException ( "member:" + member + " did not start after " + retryCount + " checks with a delay of " + sleepDelay + " milliseconds" ) ; } count ++ ; } }
Wait for a given member to startup
@param jmx the JMX connection
@param member the member to wait for
Wait for a given member to startup