final IExecutorService service = instance.getExecutorService("testSubmitToMemberRunnable");
final String script = "if(!hazelcast.getCluster().getLocalMember().getUuid().equals(memberUUID)) " +
"hazelcast.getAtomicLong('testSubmitToMemberRunnable').incrementAndGet();";
final HashMap map = new HashMap();
map.put("memberUUID", instance.getCluster().getLocalMember().getUuid());
service.submitToMember(new ScriptRunnable(script, map), instance.getCluster().getLocalMember(), callback);
}
assertOpenEventually(latch);
assertEquals(0, instances[0].getAtomicLong("testSubmitToMemberRunnable").get());
assertEquals(k, count.get());
}