Can someone open a Jira issue so we can fix that test? :-)

Thanks!
-Scott



On Thu, Feb 19, 2009 at 7:36 AM, Marvin Addison <[email protected]>wrote:

> Just tried to reproduce the problem.  Checked out 3.3.1-final from svn
> and ran mvn package and got a test failure in the HttpClient tests:
>
>
> -------------------------------------------------------------------------------
> Test set: org.jasig.cas.util.HttpClientTests
>
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.212
> sec <<< FAILURE!
> testBadUrl(org.jasig.cas.util.HttpClientTests)  Time elapsed: 0.531
> sec  <<< FAILURE!
> junit.framework.AssertionFailedError
>        at junit.framework.Assert.fail(Assert.java:47)
>        at junit.framework.Assert.assertTrue(Assert.java:20)
>         at junit.framework.Assert.assertFalse(Assert.java:34)
>        at junit.framework.Assert.assertFalse(Assert.java:41)
>        at
> org.jasig.cas.util.HttpClientTests.testBadUrl(HttpClientTests.java:32)
>
> This is _not_ related to commons-httpclient or missing Maven
> dependencies in any way.  That test exercises the lightweight
> org.jasig.cas.util.HttpClient class, which is mostly a wrapper around
> URL.openConnection().  The test is failing because it expects a 404 on
> a GET to http://www.ja-sig.org/scottb.html, but instead is getting a
> 301, which it treats as a success response.  This is likely related to
> the Jasig Web site reorganization.
>
> Hope that helps,
> Marvin
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to