Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The indexes on restored games don't get updated #1

Open
crankycyclops opened this issue Mar 13, 2022 · 0 comments
Open

The indexes on restored games don't get updated #1

crankycyclops opened this issue Mar 13, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@crankycyclops
Copy link
Owner

Steps to reproduce:

  1. Create a game
  2. Dump the game
  3. Restart the server
  4. Restore the game
  5. Try stopping and starting the game and observe that a request for get:game:list with the is_running filter doesn't return the expected result.

I think this is because, on ordinary game creation, I assign event handlers for start and stop but don't do the same for restored games. I need to fix this and write unit tests that cover this case to make sure I don't get a regression on this in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant