Attempt to fix flaky tests with egregious retry rule

This commit is contained in:
Dean Herbert 2023-10-18 17:46:14 +09:00
parent 7479830a8e
commit be321e34e9
No known key found for this signature in database
1 changed files with 6 additions and 4 deletions

View File

@ -51,7 +51,8 @@ public partial class TestSceneSliderInput : RateAdjustedBeatmapTestScene
[TestCase(80, 1)]
[TestCase(80, 0)]
[TestCase(80, 10)]
// [TestCase(90, 1)] flaky
[TestCase(90, 1)]
[Retry(100)] // headless test doesn't run at high enough precision for this to always enter a tracking state in time.
public void TestVeryShortSlider(float sliderLength, int repeatCount)
{
Slider slider;
@ -87,11 +88,12 @@ public void TestVeryShortSlider(float sliderLength, int repeatCount)
[TestCase(300, false)]
[TestCase(200, true)]
[TestCase(150, true)]
// [TestCase(120, true)] flaky
// [TestCase(60, true)] flaky
[TestCase(120, true)]
[TestCase(60, true)]
[TestCase(10, true)]
// [TestCase(0, true)] headless test doesn't run at high enough precision for this to always enter a tracking state in time.
[TestCase(0, true)]
[TestCase(-30, false)]
[Retry(100)] // headless test doesn't run at high enough precision for this to always enter a tracking state in time.
public void TestTailLeniency(float finalPosition, bool hit)
{
Slider slider;