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

Fix AI tests using PASSES_RANDOMLY #5486

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

Pawkkie
Copy link
Collaborator

@Pawkkie Pawkkie commented Oct 8, 2024

Description

The AI tests weren't having their state reset between PASSES_RANDOMLY runs, which meant that every run but the first one was checking the wrong information. This PR fixes that behaviour, and fixes the one AI test that used PASSES_RANDOMLY while it was broken. This is all mgriffin not me :)

People who collaborated with me in this PR

@mrgriffin Did the whole thing :D

Discord contact info

@Pawkkie

@Pawkkie Pawkkie added bugfix Bugfixes category: battle-tests Related to the automated test environment labels Oct 8, 2024
Copy link
Collaborator

@AsparagusEduardo AsparagusEduardo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm :)

@Pawkkie
Copy link
Collaborator Author

Pawkkie commented Oct 8, 2024

I just want to wait for @mrgriffin to double check this because it's entirely their code and they'll have the eye for making sure I haven't missed anything lol

@AsparagusEduardo
Copy link
Collaborator

I just want to wait for @mrgriffin to double check this because it's entirely their code and they'll have the eye for making sure I haven't missed anything lol

No problem 👍

Copy link
Collaborator

@mrgriffin mrgriffin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me too, thanks! :)

@Pawkkie Pawkkie merged commit efad9a3 into rh-hideout:master Oct 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Bugfixes category: battle-tests Related to the automated test environment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants