joint_idempotency.txt 524 B

1234567891011121314151617181920212223
  1. # Verify that operations upon entering the joint state are idempotent, i.e.
  2. # removing an absent node is fine, etc.
  3. simple
  4. v1
  5. ----
  6. voters=(1)
  7. 1: StateProbe match=0 next=0
  8. enter-joint
  9. r1 r2 r9 v2 v3 v4 v2 v3 v4 l2 l2 r4 r4 l1 l1
  10. ----
  11. voters=(3)&&(1) learners=(2) learners_next=(1)
  12. 1: StateProbe match=0 next=0
  13. 2: StateProbe match=0 next=1 learner
  14. 3: StateProbe match=0 next=1
  15. leave-joint
  16. ----
  17. voters=(3) learners=(1 2)
  18. 1: StateProbe match=0 next=0 learner
  19. 2: StateProbe match=0 next=1 learner
  20. 3: StateProbe match=0 next=1