1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 11:22:55 +08:00
osu-lazer/osu.Game.Tests/Visual
Bartłomiej Dach 12585c9f27
Fix flaky editor beatmap creation test
Came up as a failure when locally running tests for
ppy/osu-framework#6001 - but the test is actually a previously-known
flaky that I couldn't reproduce the failure of until the aforementioned
PR.

This appears to be a simple race; the test scene queries the track
length from update thread, but the length is actually set on the audio
thread. So it's not unreasonable that given unlucky timing, the length
will not be set by `TrackBass` before it is queried.

To fix, switch assert to until step. I'm generally not really willing
to give this more time of day until this change is proven insufficient.
2023-09-26 16:42:59 +02:00
..
Audio Rename NormalSliderBar.cs to RoundedSliderBar.cs 2023-02-02 17:24:45 +01:00
Background Ensure background of gameplay is black when storyboard is overriding background display 2023-08-02 15:50:15 +09:00
Beatmaps Implement nano beatmap card 2023-09-18 11:30:14 +02:00
Collections Add test coverage showing commit failure in manage collections dialog 2023-06-04 12:50:30 +09:00
Colours Automated pass 2023-06-24 01:00:03 +09:00
Components Partial everything 2022-11-27 00:00:27 +09:00
Editing Fix flaky editor beatmap creation test 2023-09-26 16:42:59 +02:00
Gameplay Adjust new test scene to not be super broken 2023-09-26 17:30:49 +09:00
Menus Fix star fountain directions not matching stable 2023-08-21 17:59:24 +09:00
Mods Automated pass 2023-06-24 01:00:03 +09:00
Multiplayer Add more test coverage to multi spectator screen 2023-08-16 17:14:42 +09:00
Navigation Add failing test coverage of selection not being retained on song select 2023-08-28 10:05:59 +02:00
Online Merge branch 'beatmap-card-nano' into missing-beatmap 2023-09-18 14:56:06 +02:00
Playlists Automated pass 2023-06-24 01:00:03 +09:00
Ranking Crudely fix crashes when switching between TestResultsWithPlayer cases 2023-07-13 19:06:02 +02:00
Settings Fix broken test 2023-07-13 22:28:26 +02:00
SongSelect Add test coverage for delete hotkey 2023-09-21 20:01:59 +02:00
UserInterface Pass ArchiveReader instead of Stream to simplify resolution code 2023-09-19 17:49:15 +09:00
TestMultiplayerComponents.cs Partial everything 2022-11-27 00:00:27 +09:00
TestSceneOsuScreenStack.cs Rename AllowTrackAdjustments to more understandable ApplyModTrackAdjustments 2023-07-25 20:20:53 +09:00