UUID getRandomIdFromList(ArrayList<Member> memberList) {
        if (memberList.isEmpty()) {
            throw new JetException("Cluster member list is empty");
        }
        Collections.shuffle(memberList);
        Member member = memberList.get(0);
        return member.getUuid();
    }
@Test
    public void testGetRandomIdFromEmptyList() {
        ArrayList<Member> memberList = new ArrayList<>();

        SubmitJobTargetMemberFinder submitJobTargetMemberFinder = new SubmitJobTargetMemberFinder();
        assertThrows(JetException.class, () -> submitJobTargetMemberFinder.getRandomIdFromList(memberList));
    }