@Test
	public void testRoundRobinWithAServerFailure(){
		isAliveMap.put("dummyservice2.netflix.com:8080", Boolean.FALSE);
		try {
			Thread.sleep(5000);
		} catch (InterruptedException e) {			
		}
		for (int i=0; i < 20; i++){
			Server svc = lb.chooseServer("user1");
			assertFalse(svc.getId().equals("dummyservice2.netflix.com:8080"));
		}
	}
Simulate a single user who should just round robin among the available servers
ribbon-loadbalancer/src/test/java/com/netflix/loadbalancer/SimpleRoundRobinWithRetryLBTest.java