mirror of
https://github.com/ppy/osu
synced 2024-12-12 01:48:49 +00:00
Attempt to fix flaky tests with egregious retry rule
This commit is contained in:
parent
7479830a8e
commit
be321e34e9
@ -51,7 +51,8 @@ namespace osu.Game.Rulesets.Osu.Tests
|
||||
[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 @@ namespace osu.Game.Rulesets.Osu.Tests
|
||||
[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
Block a user