Discussion:
[jifty-devel] upgrade v0.71129 to v0.80408 functional tests problem
Henry Baragar
2008-07-09 13:51:06 UTC
Permalink
Hello,

We have upgraded our test machine from Jifty v0.71129 to v0.80408 and almost all of our functional tests have false failures. All of our tests follow the same pattern:
Get a page (that should be password protected)
Follow the tangent to the login page
Authenticate
Follow the return to the original page
Proceed with the rest of the tests
This process works fine when run by hand (on jifty server). In the functional tests, after the authentication in step 4, the test script gets back the login page again with the message that the user has already logged in. As a work around, we tried to get the original page again, but this tangents to the login page requesting re-authentication (i.e. the credentials were lost).

I don't know if this is one problem or two: a problem with following of redirects (e.g. similar to http://rt.cpan.org/NoAuth/Bug.html?id=9059) and/or session information getting lost (in the test script).

Has anybody else had a similar problem? Is there a known work-around?

Regards,
Henry
Jesse Vincent
2008-07-16 19:29:58 UTC
Permalink
Post by Henry Baragar
Hello,
We have upgraded our test machine from Jifty v0.71129 to v0.80408
and almost all of our functional tests have false failures. All of
Get a page (that should be password protected)
Follow the tangent to the login page
Authenticate
Follow the return to the original page
Proceed with the rest of the tests
This process works fine when run by hand (on jifty server). In the
functional tests, after the authentication in step 4, the test
script gets back the login page again with the message that the user
has already logged in. As a work around, we tried to get the
original page again, but this tangents to the login page requesting
re-authentication (i.e. the credentials were lost).
I don't know that we've seen this :/
Post by Henry Baragar
I don't know if this is one problem or two: a problem with following
of redirects (e.g. similar to http://rt.cpan.org/NoAuth/Bug.html?id=9059)
and/or session information getting lost (in the test script).
Has anybody else had a similar problem? Is there a known work-around?
Regards,
Henry
_______________________________________________
jifty-devel mailing list
http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
Loading...