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 intermittent test failures in TestSceneBeatmapInfoWedge due to async load #15871

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

peppy
Copy link
Sponsor Member

@peppy peppy commented Nov 30, 2021

As seen at https://github.com/ppy/osu/runs/4358685294?check_suite_focus=true

Occurs due to the wedge content also reloading on ruleset change, which wasn't being accounted for. In a fail case, the content would change during the "select beatmap" step's async load wait, causing incorrect results.

ruleset.BindValueChanged(_ => updateDisplay());

…sync load

https://github.com/ppy/osu/runs/4358685294?check_suite_focus=true

Occurs due to the wedge content also reloading on ruleset change, which
wasn't being accounted for. In a fail case, the content would change
during the "select beatmap" step's async load wait, causing incorrect
results.

https://github.com/ppy/osu/blob/51a353e12db189f9958228d30fe045b8460c6b92/osu.Game/Screens/Select/BeatmapInfoWedge.cs#L70
@smoogipoo smoogipoo changed the title Fix intermittent test failures in TestScenBeatmapInfoWedge due to async load Fix intermittent test failures in TestSceneBeatmapInfoWedge due to async load Nov 30, 2021
@smoogipoo smoogipoo merged commit f7b0d56 into ppy:master Nov 30, 2021
@peppy peppy deleted the fix-wedge-test-intermittent-failure branch November 30, 2021 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants