mirror of https://github.com/ppy/osu
Attempt to fix flaky tests with egregious retry rule
This commit is contained in:
parent
7479830a8e
commit
be321e34e9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue