private static void assertNodeRecognizedStatus(Jedis node,
	    String targetNodeId, boolean shouldRecognized, int timeoutMs) {
	int sleepInterval = 100;
	for (int sleepTime = 0; sleepTime <= timeoutMs; sleepTime += sleepInterval) {
	    boolean known = isKnownNode(node, targetNodeId);
	    if (shouldRecognized == known)
		return;

	    try {
		Thread.sleep(sleepInterval);
	    } catch (InterruptedException e) {
	    }
	}

	throw new JedisException("Node recognize check error");
    }