]> git.cworth.org Git - lmno-server/commit
Add new failing test case for a reactivated player
authorCarl Worth <cworth@cworth.org>
Sat, 27 Jun 2020 16:35:59 +0000 (09:35 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 27 Jun 2020 16:44:01 +0000 (09:44 -0700)
commit66b333239bd232c60cc1093aefc55c585af293cc
treedb90f9cdadf6b18ebf6be03968b16fec32d15eaf
parentca261367bfa9dbb281a09547548c6695df91bb86
Add new failing test case for a reactivated player

I noticed that when a player is reactivated, (that is, by starting a
new event stream by means of a cookie associated with a pre-existing
cookie for a player that had been deactivated), the server was not
properly activating the player.

This commit adds a new failing test case that demonstrates the bug. We
reactivate dale for a 4-player game, but then the server advances the
game out of the answering phase when only 3 players have submitted an
answer. This demonstrates that dale isn't being considered active.
test