Adjust test timings to avoid flaky test failing

The gameplay clock runs at 1000 ms intervals, and the previous duration
meant that the "store" step could cause a missed spinning check in a bad
case scenario.
This commit is contained in:
Dean Herbert
2025-06-19 19:16:12 +09:00
parent d7891b574d
commit 088659ae04

View File

@@ -110,23 +110,23 @@ namespace osu.Game.Rulesets.Osu.Tests
new Spinner
{
StartTime = 0,
Duration = 1000,
Duration = 3000,
Position = OsuPlayfield.BASE_SIZE / 2,
},
new Slider
{
StartTime = 2500,
StartTime = 4500,
RepeatCount = 0,
Position = OsuPlayfield.BASE_SIZE / 2,
Path = new SliderPath(new[]
{
new PathControlPoint(Vector2.Zero),
new PathControlPoint(new Vector2(100, 0)),
new PathControlPoint(new Vector2(200, 0)),
})
},
new HitCircle
{
StartTime = 4500,
StartTime = 10000,
Position = OsuPlayfield.BASE_SIZE / 2,
},
},