From 088659ae04183143c28e8aebd680ceb583555eef Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 19 Jun 2025 19:16:12 +0900 Subject: [PATCH] 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. --- osu.Game.Rulesets.Osu.Tests/TestSceneCursorParticles.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/osu.Game.Rulesets.Osu.Tests/TestSceneCursorParticles.cs b/osu.Game.Rulesets.Osu.Tests/TestSceneCursorParticles.cs index f6e460284b..fd947343e4 100644 --- a/osu.Game.Rulesets.Osu.Tests/TestSceneCursorParticles.cs +++ b/osu.Game.Rulesets.Osu.Tests/TestSceneCursorParticles.cs @@ -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, }, },