flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mihai Chira <mih...@apache.org>
Subject Re: [14/14] git commit: [flex-sdk] [refs/heads/develop] - FLEX-34119 Running the over 10, 000 parameterized tests in the ant test runner takes over an hour! (On my computer it only takes a bit above three minutes.) I'm ignoring this for now.
Date Tue, 10 Mar 2015 16:58:34 GMT
Should I un-ignore this test, to see if it's faster on the server? (On
my machine, in IntelliJ it finishes in three minutes.) I guess it's so
slow because it's writing the reports to disk while running?

Also, now that it's ignored, FlexUnit (Flash, really) throws a stack
overflow error at around 10% of the 10,000+ parameterised tests
because it goes through each of them and then ignores it, and because
it's only the arguments that change, I guess it thinks it's stuck in
an infinite loop. Is this avoidable? Is it possible to write an
[Ignore] tag which will make the test runner ignore all parameterised
versions of that function at once, instead of having it go through
each of them?

On 10 March 2015 at 17:44,  <mihaic@apache.org> wrote:
> FLEX-34119 Running the over 10,000 parameterized tests in the ant test runner takes over
an hour! (On my computer it only takes a bit above three minutes.) I'm ignoring this for now.
>
>
> Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
> Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/410945f0
> Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/410945f0
> Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/410945f0
>
> Branch: refs/heads/develop
> Commit: 410945f0f78f889147d83e4fb07a5c5ce56c71bf
> Parents: f7fcf12
> Author: Mihai Chira <mihaic@apache.org>
> Authored: Tue Mar 10 17:30:19 2015 +0100
> Committer: Mihai Chira <mihaic@apache.org>
> Committed: Tue Mar 10 17:30:19 2015 +0100
>
> ----------------------------------------------------------------------
>  .../HierarchicalCollectionViewCursor_FLEX_34119_Tests.as          | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> ----------------------------------------------------------------------
>
>
> http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/410945f0/frameworks/projects/advancedgrids/tests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34119_Tests.as
> ----------------------------------------------------------------------
> diff --git a/frameworks/projects/advancedgrids/tests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34119_Tests.as
b/frameworks/projects/advancedgrids/tests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34119_Tests.as
> index 5119ed4..e378c6c 100644
> --- a/frameworks/projects/advancedgrids/tests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34119_Tests.as
> +++ b/frameworks/projects/advancedgrids/tests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34119_Tests.as
> @@ -136,7 +136,8 @@ package mx.collections
>                         assertEquals(secondCompany, _sut.current);
>                         assertTrue(_noErrorsThrown);
>                 }
> -
> +
> +        [Ignore]
>                 [Test(dataProvider="positionAndOperation")]
>          public function testReproduce_FLEX_34119_Comprehensive(selectedItemIndex:int,
operationIndex:int, operation:int):void
>          {
>

Mime
View raw message