Skip to content

Unstable test: DslGameTest.dsl #317

Open

Description

@Zomis

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.

Activity

  1. added
    bugSomething isn't working
    build-and-testIssues related to building the project and all kinds of automatic tests
    on Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuild-and-testIssues related to building the project and all kinds of automatic tests

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions