[MAGNOLIA-3784] fix broken MostBasicTest#loginOnAuthorAsSuperuser() (integration-test): http://hudson.magnolia-cms.com/job/magnolia-bundle_4.4-branch/info.magnolia$magnolia-integration-tests/213/ Created: 03/Aug/11  Updated: 23/Jan/13  Resolved: 04/Aug/11

Status: Closed
Project: Magnolia
Component/s: integration tests
Affects Version/s: 4.4
Fix Version/s: 4.4.5

Type: Task Priority: Critical
Reporter: Daniel Lipp Assignee: Daniel Lipp
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
caused by MAGNOLIA-3716 VirtualUriFilter does not encode redi... Closed
relation
is related to MAGNOLIA-3841 Mime type resolution fails when runni... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty

 Description   

Integration-tests have been failing since MAGNOLIA-3716 has been fixed. Encoding redirect URI has the side effect that - in case cookies are not activated - any redirect will add the jsessionid - this is currently not foreseen in the test.

Full error trace:
org.junit.ComparisonFailure: adminCentral redirect is not setup? expected:<...es/adminCentral.html[]> but was:<...es/adminCentral.html[;jsessionid=71ae4c9utppz]>
at org.junit.Assert.assertEquals(Assert.java:123)
at info.magnolia.testframework.htmlunit.AbstractMagnoliaIntegrationTest.assertRedirected(AbstractMagnoliaIntegrationTest.java:209)
at info.magnolia.integrationtests.MostBasicTest.loginOnAuthorInstanceWithSuperuser(MostBasicTest.java:63)
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:592)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
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:592)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)



 Comments   
Comment by Daniel Lipp [ 03/Aug/11 ]

not yet fixed and obviously also affecting ee-integration-tests!

Generated at Mon Feb 12 03:49:38 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.