1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 08:22:56 +08:00
osu-lazer/osu.Game.Tests
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 Remove the nullable disable annotation in the test project. 2022-07-31 22:02:07 +08:00
Beatmaps Merge pull request #24800 from sw1tchbl4d3r/invalid_bank 2023-09-19 22:28:34 +09:00
Chat Add failing test case for fake (but still incorrectly allowed) protocol 2023-09-18 09:19:12 +02:00
Collections/IO Automated pass 2023-06-24 01:00:03 +09:00
Database Rename new flag and update xmldoc to match 2023-08-21 19:36:22 +09:00
Editing Rename SliderVelocity to SliderVelocityMultiplier to distinguish from Velocity 2023-09-06 19:01:08 +09:00
Extensions Add own fixed copy of defective Humanizer methods 2022-07-18 21:37:31 +02:00
Gameplay Revert "Update GetTexture signature rather than creating new overload" 2023-09-19 03:21:19 +03:00
Input Automated pass 2023-06-24 01:00:03 +09:00
Localisation Automated pass 2023-06-24 01:00:03 +09:00
Models Make ScoreInfo.BeatmapInfo nullable 2023-07-04 14:50:34 +09:00
Mods Add test coverage for mod equality with multiple settings 2023-05-04 20:46:27 +02:00
NonVisual Add test cases covering full phrase case insensitivity 2023-06-27 21:50:39 +02:00
Online Automated pass 2023-06-24 01:00:03 +09:00
OnlinePlay Automated pass 2023-06-24 01:00:03 +09:00
Resources Merge pull request #24800 from sw1tchbl4d3r/invalid_bank 2023-09-19 22:28:34 +09:00
Rulesets Revert "Update GetTexture signature rather than creating new overload" 2023-09-19 03:21:19 +03:00
Scores/IO Automated pass 2023-06-24 01:00:03 +09:00
ScrollAlgorithms Automated #nullable processing 2022-06-17 16:37:17 +09:00
Skins Revert "Update GetTexture signature rather than creating new overload" 2023-09-19 03:21:19 +03:00
Testing Add missing ruleset shader tests 2023-05-02 11:55:05 +03:00
Utils add tests for GetNextBestFilename() 2022-12-01 18:48:25 +01:00
Visual Fix flaky editor beatmap creation test 2023-09-26 16:42:59 +02:00
ImportTest.cs Automated pass 2023-06-24 01:00:03 +09:00
osu.Game.Tests.csproj Update all dependencies (except for Moq) 2023-09-16 15:37:31 +09:00
tests.ruleset Exclude tests from ConfigureAwait rule 2021-03-08 14:36:35 +09:00
WaveformTestBeatmap.cs Refactor IWorkingBeatmap.Background to GetBackground() 2023-06-08 16:19:32 +09:00