Repository: flex-sdk Updated Branches: refs/heads/develop 22f81c478 -> 58a2e5dfb
FLEX-33058 Lengthened the test's timeout. Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/58a2e5df Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/58a2e5df Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/58a2e5df Branch: refs/heads/develop Commit: 58a2e5dfb5a400785d8fe31918c26787bbb9e6bb Parents: 22f81c4 Author: Mihai Chira <[email protected]> Authored: Mon Feb 22 10:24:30 2016 +0100 Committer: Mihai Chira <[email protected]> Committed: Mon Feb 22 10:24:30 2016 +0100 ---------------------------------------------------------------------- .../advancedgrids/tests/mx/controls/FLEX_33058_Tests.as | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/58a2e5df/frameworks/projects/advancedgrids/tests/mx/controls/FLEX_33058_Tests.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/advancedgrids/tests/mx/controls/FLEX_33058_Tests.as b/frameworks/projects/advancedgrids/tests/mx/controls/FLEX_33058_Tests.as index 67145bd..8884095 100644 --- a/frameworks/projects/advancedgrids/tests/mx/controls/FLEX_33058_Tests.as +++ b/frameworks/projects/advancedgrids/tests/mx/controls/FLEX_33058_Tests.as @@ -69,7 +69,7 @@ package mx.controls { noEnterFramesRemaining = NaN; } - [Test(async, timeout=500)] + [Test(async, timeout=1000)] public function test_sorting_doesnt_throw_fatal():void { //given @@ -81,7 +81,7 @@ package mx.controls { //then wait a few frames noEnterFramesRemaining = NO_ENTER_FRAMES_TO_ALLOW; UIImpersonator.testDisplay.addEventListener(Event.ENTER_FRAME, onEnterFrame); - Async.handleEvent(this, _finishNotifier, Event.COMPLETE, onGridAddedToStage); + Async.handleEvent(this, _finishNotifier, Event.COMPLETE, onGridAddedToStage, 300); } private function onGridAddedToStage(event:Event, passThroughData:Object):void @@ -92,7 +92,7 @@ package mx.controls { //then - wait a few more frames noEnterFramesRemaining = NO_ENTER_FRAMES_TO_ALLOW; UIImpersonator.testDisplay.addEventListener(Event.ENTER_FRAME, onEnterFrame); - Async.handleEvent(this, _finishNotifier, Event.COMPLETE, onGridDrawn); + Async.handleEvent(this, _finishNotifier, Event.COMPLETE, onGridDrawn, 300); } private function onGridDrawn(event:Event, passThroughData:Object):void @@ -106,7 +106,7 @@ package mx.controls { //then - wait a few more frames noEnterFramesRemaining = NO_ENTER_FRAMES_TO_ALLOW; UIImpersonator.testDisplay.addEventListener(Event.ENTER_FRAME, onEnterFrame); - Async.handleEvent(this, _finishNotifier, Event.COMPLETE, onGridSetupComplete); + Async.handleEvent(this, _finishNotifier, Event.COMPLETE, onGridSetupComplete, 300); } private static function onGridSetupComplete(event:Event, passThroughData:Object):void
