diff --git a/unit-tests/003_pacemaker.txt b/unit-tests/003_pacemaker.txt index 41abea8..2b039a7 100644 --- a/unit-tests/003_pacemaker.txt +++ b/unit-tests/003_pacemaker.txt @@ -1,24 +1,22 @@ # vim: ft=sh et : # # Checks whether Pacemaker gets correct command lines. ticket: - state ST_STABLE - last_ack_ballot 40 - new_ballot 50 + state ST_FOLLOWER + current_term 40 + term_expires time(0) + 30 message0: - header.cmd OP_COMMITTED + header.cmd OP_HEARTBEAT header.from booth_conf->site[2].site_id header.result 0 - ticket.ballot 99 -# must match last_ack_ballot above - ticket.prev_ballot 40 - ticket.owner booth_conf->site[2].site_id + ticket.term 44 + ticket.leader booth_conf->site[2].site_id #getenv("UNIT_TEST_AUX") "ballot 99 owner +" finally: - last_ack_ballot 99 + current_term 44