public void _testDelayedJoinResponse(long discovery_timeout, long join_timeout,
long delay_join_req, long tolerance) throws Exception {
c1.connect("x");
ProtocolStack stack=c2.getProtocolStack();
GMS gms=(GMS)stack.findProtocol("GMS");
if(gms != null) {
gms.setJoinTimeout(join_timeout);
}
Discovery discovery=(Discovery)stack.findProtocol(Discovery.class);