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

Failing tests because of concurrency #54

Closed
Zomis opened this issue Oct 3, 2014 · 0 comments
Closed

Failing tests because of concurrency #54

Zomis opened this issue Oct 3, 2014 · 0 comments
Assignees

Comments

@Zomis
Copy link
Member

Zomis commented Oct 3, 2014

https://travis-ci.org/Cardshifter/Cardshifter/builds/37007190 and https://travis-ci.org/Cardshifter/Cardshifter/builds/37008087 failed because of some concurrency issues.

In the test it is possible for the AI to end turn at the same time as the human checks for what possible actions there are - which calls getCurrentPhase, which makes it possible for the LinkedList of upcomingPhases to be empty.

There are also some issues about wrong type of message received in the testUserOnlineOffline method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant