[
http://mifosforge.jira.com/browse/MIFOS-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56963#action_56963
]
Van Mittal-Henkle commented on MIFOS-2753:
------------------------------------------
Since 16809 involved moving packages around there is a good chance that it
would affect the order of test execution. This smells like an execution order
issue. The failing test could depend on state it is not getting any more, or a
test that now comes before it could be leaving bad state.
> SurveyInstanceActionStrutsTest.testCreate is failing after revision 16809
> -------------------------------------------------------------------------
>
> Key: MIFOS-2753
> URL: http://mifosforge.jira.com/browse/MIFOS-2753
> Project: mifos
> Issue Type: Bug
> Components: Build and Testing
> Affects Versions: Gazelle C
> Reporter: Udai Gupta
> Assignee: mifosdeveloperqueue
> Fix For: Unscheduled
>
>
> Yesterday I and a couple of other developers experienced a failing
> integration test when building Mifos after upgrading to revision
> 16809. However, the test passes when building the application on
> Hudson, and the test passes when run by itself in my local development
> environment.
> The failing test is (see below for complete stack trace)
> org.mifos.customers.surveys.struts.action.SurveyInstanceActionStrutsTest.testCreate()
> It could be a timing or test-dependency problem, for example, if a prior
> integration test leaves the database in a state that breaks this test, but I
> haven't had time to explore more deeply.
> Keith Pierce
> -------------------------------------------------------------------------------
> Test set:
> org.mifos.customers.surveys.struts.action.SurveyInstanceActionStrutsTest
> -------------------------------------------------------------------------------
> Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
> 31.428 sec <<< FAILURE!
> testCreate(org.mifos.customers.surveys.struts.action.SurveyInstanceActionStrutsTest)
> Time elapsed: 2.405 sec <<< FAILURE!
> junit.framework.AssertionFailedError: was expecting
> '/pages/application/surveys/jsp/preview_instance.jsp' but received
> '/pages/application/surveys/jsp/create_instance.jsp'
> at servletunit.struts.Common.verifyForwardPath(Common.java:339)
> at
> servletunit.struts.MockStrutsTestCase.verifyForward(MockStrutsTestCase.java:675)
> at
> org.mifos.customers.surveys.struts.action.SurveyInstanceActionStrutsTest.testCreate(SurveyInstanceActionStrutsTest.java:343)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at junit.framework.TestResult$1.protect(TestResult.java:110)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> at junit.framework.TestResult.run(TestResult.java:113)
> at junit.framework.TestCase.run(TestCase.java:124)
> at junit.framework.TestSuite.runTest(TestSuite.java:232)
> at junit.framework.TestSuite.run(TestSuite.java:227)
> at
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
> at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues