Re-enable timeline zoom test and remove flaky attribute

This commit is contained in:
Salman Ahmed 2022-07-25 11:39:23 +03:00
parent 3c12b357e6
commit 93175eaf6e

View File

@ -8,22 +8,11 @@ using osu.Framework.Graphics;
namespace osu.Game.Tests.Visual.Editing namespace osu.Game.Tests.Visual.Editing
{ {
[Ignore("Timeline initialisation is kinda broken.")] // Initial work to rectify this was done in https://github.com/ppy/osu/pull/19297, but needs more massaging to work.
public class TestSceneTimelineZoom : TimelineTestScene public class TestSceneTimelineZoom : TimelineTestScene
{ {
public override Drawable CreateTestComponent() => Empty(); public override Drawable CreateTestComponent() => Empty();
[Test] [Test]
[FlakyTest]
/*
* Fail rate around 0.3%
*
* TearDown : osu.Framework.Testing.Drawables.Steps.AssertButton+TracedException : range halved
* --TearDown
* at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal()
* at osu.Framework.Threading.Scheduler.Update()
* at osu.Framework.Graphics.Drawable.UpdateSubTree()
*/
public void TestVisibleRangeUpdatesOnZoomChange() public void TestVisibleRangeUpdatesOnZoomChange()
{ {
double initialVisibleRange = 0; double initialVisibleRange = 0;