]> git.cworth.org Git - lmno-server/commit
Add new failing test case: Inactive players shouldn't impede phase advance
authorCarl Worth <cworth@cworth.org>
Sat, 27 Jun 2020 16:11:42 +0000 (09:11 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 27 Jun 2020 16:22:14 +0000 (09:22 -0700)
commit13f2a95476240fd9049008d1a5a5f8711b39c3fd
treea0af10cc865cd591200de762757b64ecb2ab22d5
parent264ea7068e22e82294829d876942877e0b9ecfc5
Add new failing test case: Inactive players shouldn't impede phase advance

The current implementation is waiting for all registered players to
have submitted answers before auto-advance (prior to a majority vote
to move on without anyone).

That seems like reasonable logic, except for a player that the server
has already noticed is no longer active (event stream connection has
dropped and server has indicated the player is gone from the game). We
don't want such an inactive player impeding the progress of the game.

This commit adds a test case capturing the behavior we actually want,
(so this test is currently failing).
test