[ 
http://mifosforge.jira.com/browse/MIFOS-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jbrewster updated MIFOS-2753:
-----------------------------

    Status: Verified  (was: Resolved)

> 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: Release 1.5
>            Reporter: Udai Gupta
>            Assignee: mifosqa
>             Fix For: Shamim D
>
>
> 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

        

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to