GMS gms=(GMS)c1.getProtocolStack().findProtocol(GMS.class);
gms.setMergeTimeout(2000);
MergeId merge_id=gms.getMergeId();
assert merge_id == null;
System.out.println("starting merge");
gms.up(new Event(Event.MSG, merge_request));
merge_id=gms.getMergeId();
System.out.println("merge_id = " + merge_id);
assert new_merge_id.equals(merge_id);
long timeout=gms.getMergeTimeout() * 2;