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

Unstable test: DslGameTest.dsl #317

Open
Zomis opened this issue Sep 19, 2022 · 0 comments
Open

Unstable test: DslGameTest.dsl #317

Zomis opened this issue Sep 19, 2022 · 0 comments
Labels
bug Something isn't working build-and-test Issues related to building the project and all kinds of automatic tests

Comments

@Zomis
Copy link
Owner

Zomis commented Sep 19, 2022

This happens every now and then:

java.lang.AssertionError: Unexpected data. Was: {"type":"UpdateView","gameType":"DSL-TTT","gameId":"1"}
	at net.zomis.games.server2.clients.WSClient.expectJsonObject(WSClient.kt:64)
	at net.zomis.games.server2.DslGameTest.dsl(DslGameTest.kt:63)

I believe this is caused by the server not having initialized the game fully, which tells clients that they should update.

@Zomis Zomis added bug Something isn't working build-and-test Issues related to building the project and all kinds of automatic tests labels Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build-and-test Issues related to building the project and all kinds of automatic tests
Projects
None yet
Development

No branches or pull requests

1 participant