joint_learners_next.txt 623 B

123456789101112131415161718192021222324
  1. # Verify that when a voter is demoted in a joint config, it will show up in
  2. # learners_next until the joint config is left, and only then will the progress
  3. # turn into that of a learner, without resetting the progress. Note that this
  4. # last fact is verified by `next`, which can tell us which "round" the progress
  5. # was originally created in.
  6. simple
  7. v1
  8. ----
  9. voters=(1)
  10. 1: StateProbe match=0 next=0
  11. enter-joint
  12. v2 l1
  13. ----
  14. voters=(2)&&(1) learners_next=(1)
  15. 1: StateProbe match=0 next=0
  16. 2: StateProbe match=0 next=1
  17. leave-joint
  18. ----
  19. voters=(2) learners=(1)
  20. 1: StateProbe match=0 next=0 learner
  21. 2: StateProbe match=0 next=1