Mockolate internal issues

37 views
Skip to first unread message

Joshua Goodson

unread,
May 21, 2013, 6:26:39 PM5/21/13
to mock...@googlegroups.com
Hey all,

I am working with a large set of flex unit tests and we have been experiencing tests that hang in our CI environment. We have a few tests that implement Mockolate. It appears that these Mockolate tests are doing some interesting things within FLoxy and FLemit. 

During the test run, I encounter the following error:

Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
at org.flemit.bytecode::ByteCodeLayout/assertEqArrayIndex()[/Volumes/Data/flemit/flemit/src/org/flemit/bytecode/ByteCodeLayout.as:732]
at org.flemit.bytecode::ByteCodeLayout/registerMultiname()[/Volumes/Data/flemit/flemit/src/org/flemit/bytecode/ByteCodeLayout.as:654]
at org.flemit.bytecode::ByteCodeLayout/registerMethodBody()[/Volumes/Data/flemit/flemit/src/org/flemit/bytecode/ByteCodeLayout.as:615]
at org.flemit.bytecode::ByteCodeLayoutBuilder/createLayout()[/Volumes/Data/flemit/flemit/src/org/flemit/bytecode/ByteCodeLayoutBuilder.as:72]
at org.floxy::ProxyRepository/prepareClasses()[/Volumes/Data/floxy/floxy/src/org/floxy/ProxyRepository.as:278]
at mockolate.ingredients.floxy::FloxyMockolateFactory/prepareClasses()[/Volumes/Data/mockolate/mockolate/src/mockolate/ingredients/floxy/FloxyMockolateFactory.as:57]
at mockolate.ingredients::Mockolatier/prepareClassRecipes()[/Volumes/Data/mockolate/mockolate/src/mockolate/ingredients/Mockolatier.as:113]
at mockolate.runner.statements::PrepareMockClasses/evaluate()[/Volumes/Data/mockolate/mockolate/src/mockolate/runner/statements/PrepareMockClasses.as:31]
at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[/Users/joshuagoodson/workspace/support/3rdparty/flexunit-master/FlexUnit4/src/org/flexunit/internals/runners/statements/StatementSequencer.as:98]
at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete()[/Users/joshuagoodson/workspace/support/3rdparty/flexunit-master/FlexUnit4/src/org/flexunit/internals/runners/statements/StatementSequencer.as:141]
at org.flexunit.token::AsyncTestToken/sendResult()[/Users/joshuagoodson/workspace/support/3rdparty/flexunit-master/FlexUnit4/src/org/flexunit/token/AsyncTestToken.as:107]
at mockolate.runner.statements::IdentifyMockClasses/evaluate()[/Volumes/Data/mockolate/mockolate/src/mockolate/runner/statements/IdentifyMockClasses.as:59]
at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[/Users/joshuagoodson/workspace/support/3rdparty/flexunit-master/FlexUnit4/src/org/flexunit/internals/runners/statements/StatementSequencer.as:98]
at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete()[/Users/joshuagoodson/workspace/support/3rdparty/flexunit-master/FlexUnit4/src/org/flexunit/internals/runners/statements/StatementSequencer.as:141]
at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[/Users/joshuagoodson/workspace/support/3rdparty/flexunit-master/FlexUnit4/src/org/flexunit/internals/runners/statements/StatementSequencer.as:109]
at mockolate.runner::MockolateRule/evaluate()[/Volumes/Data/mockolate/mockolate/src/mockolate/runner/MockolateRule.as:281]
at org.flexunit.internals.runners.statements::StackAndFrameManagement/handleTimerComplete()[/Users/joshuagoodson/workspace/support/3rdparty/flexunit-master/FlexUnit4/src/org/flexunit/internals/runners/statements/StackAndFrameManagement.as:138]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.utils::Timer/tick()

I've been debugging these tests with an mm.cfg with the following flags:

ErrorReportingEnable=1
TraceOutputFileEnable=1
TraceOutputBuffered=1
AS3Trace=1

I'm sort of at a loss here for why this may be occurring. If anyone has encountered this before or may know what is happening, I will be thankful for some insight.

Thanks,
Josh
Reply all
Reply to author
Forward
0 new messages