You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Mark Claassen <ma...@donnell.com> on 2013/01/15 18:26:27 UTC

Unit test failure

I am trying to compile HttpClient 4.2.2, but I run into a unit test failure every time.  It doesn't say much so I am not sure what
to do.  Could it be my environment?  All the other tests in all the other packages succeed.

Running org.apache.http.impl.client.TestStatefulConnManagement
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.262 sec <<< FAILURE!

Thanks
Mark




---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


RE: Unit test failure

Posted by Mark Claassen <ma...@donnell.com>.
Sorry, I bit of a type-o there. I "still" get a unit test failure in the same place.  I am going to see if I can try a build on
another machine.

-----Original Message-----
From: Mark Claassen [mailto:mac01@donnell.com] 
Sent: Tuesday, January 15, 2013 12:46 PM
To: 'HttpClient User Discussion'
Subject: RE: Unit test failure

I will get a unit test failure in the same place.  Any ideas?

Running org.apache.http.impl.client.TestRequestRetryHandler
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec Running org.apache.http.impl.client.TestRequestWrapper
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec Running
org.apache.http.impl.client.TestStatefulConnManagement
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.283 sec <<< FAILURE!
Running org.apache.http.impl.conn.TestAbortHandling
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.186 sec Running org.apache.http.impl.conn.TestBasicConnManager

-----Original Message-----
From: Mark Claassen [mailto:mac01@donnell.com]
Sent: Tuesday, January 15, 2013 12:35 PM
To: 'HttpClient User Discussion'
Subject: RE: Unit test failure

Guess I will try 4.2.3 quick.

-----Original Message-----
From: Mark Claassen [mailto:mac01@donnell.com]
Sent: Tuesday, January 15, 2013 12:26 PM
To: 'HttpClient User Discussion'
Subject: Unit test failure

I am trying to compile HttpClient 4.2.2, but I run into a unit test failure every time.  It doesn't say much so I am not sure what
to do.  Could it be my environment?  All the other tests in all the other packages succeed.

Running org.apache.http.impl.client.TestStatefulConnManagement
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.262 sec <<< FAILURE!

Thanks
Mark




---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


RE: Unit test failure

Posted by Mark Claassen <ma...@donnell.com>.
Better than that, I went ahead and just changed the source file of the test to have a timeout of 100 instead of 10.  I got past this point and is continuing the build! Thanks!

-----Original Message-----
From: Mark Claassen [mailto:mac01@donnell.com] 
Sent: Tuesday, January 15, 2013 3:40 PM
To: 'HttpClient User Discussion'
Subject: RE: Unit test failure

Thanks!  My test laptops are not too fast, so I am guessing that this might be the issue.

I am not too familiar with the ins and outs of maven.  Is there a way I can remove this test from my local lists of tests and run the build successfully?

Mark

-----Original Message-----
From: Oleg Kalnichevski [mailto:olegk@apache.org]
Sent: Tuesday, January 15, 2013 3:25 PM
To: HttpClient User Discussion
Subject: Re: Unit test failure

On Tue, 2013-01-15 at 14:39 -0500, Mark Claassen wrote:
> I tried it on a different machine, this one running the same version of Java, but on a Windows 7 machine (64 bit OS, 32 bit VM).
> 
> I get the same result.  Only this time is has "Connect to localhost:56701 timed out"
> 
> -----Original Message-----
> From: Mark Claassen [mailto:mac01@donnell.com]
> Sent: Tuesday, January 15, 2013 1:42 PM
> To: 'HttpClient User Discussion'
> Subject: RE: Unit test failure
> 
> It has not been a good day for me as far as jumping to conclusions and type-os.  It actually failed.
> 

It turned out the test had a very low (10 ms) connection timeout setting. Fixed in 4.2.x HEAD

http://svn.apache.org/viewvc?view=revision&revision=1433614

Oleg

> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.http.impl.client.TestStatefulConnManagement
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.712 sec <<< FAILURE!
> 
> Results :
> 
> Tests in error:
>   
> testStatefulConnections(org.apache.http.impl.client.TestStatefulConnMa
> nagement): Connect to localhost:58094 timed out
> 
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
> 
> [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] There are test failures.
> 
> Please refer to
> C:\dsi\opensource\HttpClient-4.2.3\httpcomponents-client-4.2.3\httpcli
> ent\target\surefire-reports for th [INFO]
> ----------------------------------------------------------------------
> -- [INFO] For more information, run Maven with the -e switch [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: 10 seconds
> [INFO] Finished at: Tue Jan 15 13:41:21 EST 2013 [INFO] Final Memory: 
> 45M/108M [INFO]
> ----------------------------------------------------------------------
> -- C:\dsi\opensource\HttpClient-4.2.3\httpcomponents-client-4.2.3>
> 
> 
> 
> -----Original Message-----
> From: Mark Claassen [mailto:mac01@donnell.com]
> Sent: Tuesday, January 15, 2013 1:41 PM
> To: 'HttpClient User Discussion'
> Subject: RE: Unit test failure
> 
> That works.
> 
> I am using Java 6 update 38
> My laptop is running Windows Vista
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> 
> Results :
> 
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------
> -- [INFO] No tests were executed!  (Set -DfailIfNoTests=false to 
> ignore this error.) [INFO]
> ----------------------------------------------------------------------
> -- [INFO] For more information, run Maven with the -e switch [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: 18 seconds
> [INFO] Finished at: Tue Jan 15 13:39:06 EST 2013 [INFO] Final Memory: 
> 45M/108M [INFO]
> ----------------------------------------------------------------------
> --
> 
> 
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Tuesday, January 15, 2013 1:26 PM
> To: HttpClient User Discussion
> Subject: Re: Unit test failure
> 
> On 15 January 2013 18:08, Mark Claassen <ma...@donnell.com> wrote:
> > Thanks!
> >
> > Connect to localhost:54964
> >
> > Since the other tests succeeded, I can't tell if they had been using 
> > this port or not.  netstat does not show it in use now (when the tests are not running).
> >
> >
> >
> > -<testcase name="testStatefulConnections" time="0.063" 
> > classname="org.apache.http.impl.client.TestStatefulConnManagement">
> > <error type="org.apache.http.conn.ConnectTimeoutException" 
> > message="Connect to localhost:54964 timed
> > out">org.apache.http.conn.ConnectTimeoutException: Connect to
> > localhost:54964 timed out at
> > org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSo
> > ck
> > etFactory.java:129) at
> > org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnec
> > ti
> > on(DefaultClientConnectionOperator.java:180) at 
> > org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedCl
> > ie
> > ntConnectionImpl.java:294) at
> > org.apache.http.impl.client.DefaultRequestDirector.tryConnect(Defaul
> > tR
> > equestDirector.java:645) at
> > org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRe
> > qu
> > estDirector.java:480) at
> > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpC
> > li
> > ent.java:906) at
> > org.apache.http.impl.client.TestStatefulConnManagement$HttpWorker.ru
> > n(
> > TestStatefulConnManagement.java:177) </error> </testcase>
> >
> 
> Try running just that test case:
> 
> mvn test -Dtest=TestStatefulConnManagement
> 
> What JVM and OS are you using?
> 
> >
> > -----Original Message-----
> > From: sebb [mailto:sebbaz@gmail.com]
> > Sent: Tuesday, January 15, 2013 12:57 PM
> > To: HttpClient User Discussion
> > Subject: Re: Unit test failure
> >
> > On 15 January 2013 17:45, Mark Claassen <ma...@donnell.com> wrote:
> >> I will get a unit test failure in the same place.  Any ideas?
> >>
> >> Running org.apache.http.impl.client.TestRequestRetryHandler
> >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
> >> 0.003 sec Running org.apache.http.impl.client.TestRequestWrapper
> >> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
> >> 0.018 sec Running
> >> org.apache.http.impl.client.TestStatefulConnManagement
> >> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.283 sec <<< FAILURE!
> >
> > Have a look at the relevant Surefire details file under
> >
> > target/surefire-reports
> >
> > This will give more info on the error.
> >
> >> Running org.apache.http.impl.conn.TestAbortHandling
> >> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
> >> 0.186 sec Running org.apache.http.impl.conn.TestBasicConnManager
> >>
> >> -----Original Message-----
> >> From: Mark Claassen [mailto:mac01@donnell.com]
> >> Sent: Tuesday, January 15, 2013 12:35 PM
> >> To: 'HttpClient User Discussion'
> >> Subject: RE: Unit test failure
> >>
> >> Guess I will try 4.2.3 quick.
> >>
> >> -----Original Message-----
> >> From: Mark Claassen [mailto:mac01@donnell.com]
> >> Sent: Tuesday, January 15, 2013 12:26 PM
> >> To: 'HttpClient User Discussion'
> >> Subject: Unit test failure
> >>
> >> I am trying to compile HttpClient 4.2.2, but I run into a unit test 
> >> failure every time.  It doesn't say much so I am not sure what to do.
> >> Could it be my environment?  All the other tests in all the
> > other packages succeed.
> >>
> >> Running org.apache.http.impl.client.TestStatefulConnManagement
> >> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.262 sec <<< FAILURE!
> >>
> >> Thanks
> >> Mark
> >>
> >>
> >>
> >>
> >> -------------------------------------------------------------------
> >> -- To unsubscribe, e-mail: 
> >> httpclient-users-unsubscribe@hc.apache.org
> >> For additional commands, e-mail: 
> >> httpclient-users-help@hc.apache.org
> >>
> >>
> >> -------------------------------------------------------------------
> >> -- To unsubscribe, e-mail: 
> >> httpclient-users-unsubscribe@hc.apache.org
> >> For additional commands, e-mail: 
> >> httpclient-users-help@hc.apache.org
> >>
> >>
> >> -------------------------------------------------------------------
> >> -- To unsubscribe, e-mail: 
> >> httpclient-users-unsubscribe@hc.apache.org
> >> For additional commands, e-mail: 
> >> httpclient-users-help@hc.apache.org
> >>
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> > For additional commands, e-mail: httpclient-users-help@hc.apache.org
> >
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> > For additional commands, e-mail: httpclient-users-help@hc.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: Unit test failure

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Tue, 2013-01-15 at 15:39 -0500, Mark Claassen wrote:
> Thanks!  My test laptops are not too fast, so I am guessing that this might be the issue.
> 
> I am not too familiar with the ins and outs of maven.  Is there a way I can remove this test from my local lists of tests and run the build successfully?
> 
> Mark
> 

I am not sure individual test can be excluded through maven
configuration without patching the source.

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


RE: Unit test failure

Posted by Mark Claassen <ma...@donnell.com>.
Thanks!  My test laptops are not too fast, so I am guessing that this might be the issue.

I am not too familiar with the ins and outs of maven.  Is there a way I can remove this test from my local lists of tests and run the build successfully?

Mark

-----Original Message-----
From: Oleg Kalnichevski [mailto:olegk@apache.org] 
Sent: Tuesday, January 15, 2013 3:25 PM
To: HttpClient User Discussion
Subject: Re: Unit test failure

On Tue, 2013-01-15 at 14:39 -0500, Mark Claassen wrote:
> I tried it on a different machine, this one running the same version of Java, but on a Windows 7 machine (64 bit OS, 32 bit VM).
> 
> I get the same result.  Only this time is has "Connect to localhost:56701 timed out"
> 
> -----Original Message-----
> From: Mark Claassen [mailto:mac01@donnell.com]
> Sent: Tuesday, January 15, 2013 1:42 PM
> To: 'HttpClient User Discussion'
> Subject: RE: Unit test failure
> 
> It has not been a good day for me as far as jumping to conclusions and type-os.  It actually failed.
> 

It turned out the test had a very low (10 ms) connection timeout setting. Fixed in 4.2.x HEAD

http://svn.apache.org/viewvc?view=revision&revision=1433614

Oleg

> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.http.impl.client.TestStatefulConnManagement
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.712 sec <<< FAILURE!
> 
> Results :
> 
> Tests in error:
>   
> testStatefulConnections(org.apache.http.impl.client.TestStatefulConnMa
> nagement): Connect to localhost:58094 timed out
> 
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
> 
> [INFO] 
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD FAILURE
> [INFO] 
> ----------------------------------------------------------------------
> --
> [INFO] There are test failures.
> 
> Please refer to 
> C:\dsi\opensource\HttpClient-4.2.3\httpcomponents-client-4.2.3\httpcli
> ent\target\surefire-reports for th [INFO]
> ----------------------------------------------------------------------
> -- [INFO] For more information, run Maven with the -e switch [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: 10 seconds
> [INFO] Finished at: Tue Jan 15 13:41:21 EST 2013 [INFO] Final Memory: 
> 45M/108M [INFO]
> ----------------------------------------------------------------------
> -- C:\dsi\opensource\HttpClient-4.2.3\httpcomponents-client-4.2.3>
> 
> 
> 
> -----Original Message-----
> From: Mark Claassen [mailto:mac01@donnell.com]
> Sent: Tuesday, January 15, 2013 1:41 PM
> To: 'HttpClient User Discussion'
> Subject: RE: Unit test failure
> 
> That works.
> 
> I am using Java 6 update 38
> My laptop is running Windows Vista
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> 
> Results :
> 
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO] 
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD FAILURE
> [INFO] 
> ----------------------------------------------------------------------
> -- [INFO] No tests were executed!  (Set -DfailIfNoTests=false to 
> ignore this error.) [INFO]
> ----------------------------------------------------------------------
> -- [INFO] For more information, run Maven with the -e switch [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: 18 seconds
> [INFO] Finished at: Tue Jan 15 13:39:06 EST 2013 [INFO] Final Memory: 
> 45M/108M [INFO]
> ----------------------------------------------------------------------
> --
> 
> 
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Tuesday, January 15, 2013 1:26 PM
> To: HttpClient User Discussion
> Subject: Re: Unit test failure
> 
> On 15 January 2013 18:08, Mark Claassen <ma...@donnell.com> wrote:
> > Thanks!
> >
> > Connect to localhost:54964
> >
> > Since the other tests succeeded, I can't tell if they had been using 
> > this port or not.  netstat does not show it in use now (when the tests are not running).
> >
> >
> >
> > -<testcase name="testStatefulConnections" time="0.063" 
> > classname="org.apache.http.impl.client.TestStatefulConnManagement">
> > <error type="org.apache.http.conn.ConnectTimeoutException" 
> > message="Connect to localhost:54964 timed
> > out">org.apache.http.conn.ConnectTimeoutException: Connect to
> > localhost:54964 timed out at
> > org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSo
> > ck
> > etFactory.java:129) at
> > org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnec
> > ti
> > on(DefaultClientConnectionOperator.java:180) at 
> > org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedCl
> > ie
> > ntConnectionImpl.java:294) at
> > org.apache.http.impl.client.DefaultRequestDirector.tryConnect(Defaul
> > tR
> > equestDirector.java:645) at
> > org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRe
> > qu
> > estDirector.java:480) at
> > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpC
> > li
> > ent.java:906) at
> > org.apache.http.impl.client.TestStatefulConnManagement$HttpWorker.ru
> > n(
> > TestStatefulConnManagement.java:177) </error> </testcase>
> >
> 
> Try running just that test case:
> 
> mvn test -Dtest=TestStatefulConnManagement
> 
> What JVM and OS are you using?
> 
> >
> > -----Original Message-----
> > From: sebb [mailto:sebbaz@gmail.com]
> > Sent: Tuesday, January 15, 2013 12:57 PM
> > To: HttpClient User Discussion
> > Subject: Re: Unit test failure
> >
> > On 15 January 2013 17:45, Mark Claassen <ma...@donnell.com> wrote:
> >> I will get a unit test failure in the same place.  Any ideas?
> >>
> >> Running org.apache.http.impl.client.TestRequestRetryHandler
> >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
> >> 0.003 sec Running org.apache.http.impl.client.TestRequestWrapper
> >> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
> >> 0.018 sec Running 
> >> org.apache.http.impl.client.TestStatefulConnManagement
> >> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.283 sec <<< FAILURE!
> >
> > Have a look at the relevant Surefire details file under
> >
> > target/surefire-reports
> >
> > This will give more info on the error.
> >
> >> Running org.apache.http.impl.conn.TestAbortHandling
> >> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
> >> 0.186 sec Running org.apache.http.impl.conn.TestBasicConnManager
> >>
> >> -----Original Message-----
> >> From: Mark Claassen [mailto:mac01@donnell.com]
> >> Sent: Tuesday, January 15, 2013 12:35 PM
> >> To: 'HttpClient User Discussion'
> >> Subject: RE: Unit test failure
> >>
> >> Guess I will try 4.2.3 quick.
> >>
> >> -----Original Message-----
> >> From: Mark Claassen [mailto:mac01@donnell.com]
> >> Sent: Tuesday, January 15, 2013 12:26 PM
> >> To: 'HttpClient User Discussion'
> >> Subject: Unit test failure
> >>
> >> I am trying to compile HttpClient 4.2.2, but I run into a unit test 
> >> failure every time.  It doesn't say much so I am not sure what to do.
> >> Could it be my environment?  All the other tests in all the
> > other packages succeed.
> >>
> >> Running org.apache.http.impl.client.TestStatefulConnManagement
> >> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.262 sec <<< FAILURE!
> >>
> >> Thanks
> >> Mark
> >>
> >>
> >>
> >>
> >> -------------------------------------------------------------------
> >> -- To unsubscribe, e-mail: 
> >> httpclient-users-unsubscribe@hc.apache.org
> >> For additional commands, e-mail: 
> >> httpclient-users-help@hc.apache.org
> >>
> >>
> >> -------------------------------------------------------------------
> >> -- To unsubscribe, e-mail: 
> >> httpclient-users-unsubscribe@hc.apache.org
> >> For additional commands, e-mail: 
> >> httpclient-users-help@hc.apache.org
> >>
> >>
> >> -------------------------------------------------------------------
> >> -- To unsubscribe, e-mail: 
> >> httpclient-users-unsubscribe@hc.apache.org
> >> For additional commands, e-mail: 
> >> httpclient-users-help@hc.apache.org
> >>
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> > For additional commands, e-mail: httpclient-users-help@hc.apache.org
> >
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> > For additional commands, e-mail: httpclient-users-help@hc.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: Unit test failure

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Tue, 2013-01-15 at 14:39 -0500, Mark Claassen wrote:
> I tried it on a different machine, this one running the same version of Java, but on a Windows 7 machine (64 bit OS, 32 bit VM).
> 
> I get the same result.  Only this time is has "Connect to localhost:56701 timed out"
> 
> -----Original Message-----
> From: Mark Claassen [mailto:mac01@donnell.com] 
> Sent: Tuesday, January 15, 2013 1:42 PM
> To: 'HttpClient User Discussion'
> Subject: RE: Unit test failure
> 
> It has not been a good day for me as far as jumping to conclusions and type-os.  It actually failed.
> 

It turned out the test had a very low (10 ms) connection timeout
setting. Fixed in 4.2.x HEAD

http://svn.apache.org/viewvc?view=revision&revision=1433614

Oleg

> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.http.impl.client.TestStatefulConnManagement
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.712 sec <<< FAILURE!
> 
> Results :
> 
> Tests in error:
>   testStatefulConnections(org.apache.http.impl.client.TestStatefulConnManagement): Connect to localhost:58094 timed out
> 
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
> 
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> 
> Please refer to C:\dsi\opensource\HttpClient-4.2.3\httpcomponents-client-4.2.3\httpclient\target\surefire-reports for th [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 10 seconds
> [INFO] Finished at: Tue Jan 15 13:41:21 EST 2013 [INFO] Final Memory: 45M/108M [INFO]
> ------------------------------------------------------------------------
> C:\dsi\opensource\HttpClient-4.2.3\httpcomponents-client-4.2.3>
> 
> 
> 
> -----Original Message-----
> From: Mark Claassen [mailto:mac01@donnell.com]
> Sent: Tuesday, January 15, 2013 1:41 PM
> To: 'HttpClient User Discussion'
> Subject: RE: Unit test failure
> 
> That works.
> 
> I am using Java 6 update 38
> My laptop is running Windows Vista
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> 
> Results :
> 
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] No tests were executed!  (Set -DfailIfNoTests=false to ignore this error.) [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 18 seconds
> [INFO] Finished at: Tue Jan 15 13:39:06 EST 2013 [INFO] Final Memory: 45M/108M [INFO]
> ------------------------------------------------------------------------
> 
> 
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Tuesday, January 15, 2013 1:26 PM
> To: HttpClient User Discussion
> Subject: Re: Unit test failure
> 
> On 15 January 2013 18:08, Mark Claassen <ma...@donnell.com> wrote:
> > Thanks!
> >
> > Connect to localhost:54964
> >
> > Since the other tests succeeded, I can't tell if they had been using 
> > this port or not.  netstat does not show it in use now (when the tests are not running).
> >
> >
> >
> > -<testcase name="testStatefulConnections" time="0.063" 
> > classname="org.apache.http.impl.client.TestStatefulConnManagement">
> > <error type="org.apache.http.conn.ConnectTimeoutException" 
> > message="Connect to localhost:54964 timed
> > out">org.apache.http.conn.ConnectTimeoutException: Connect to
> > localhost:54964 timed out at
> > org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSock
> > etFactory.java:129) at
> > org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnecti
> > on(DefaultClientConnectionOperator.java:180) at 
> > org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClie
> > ntConnectionImpl.java:294) at
> > org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultR
> > equestDirector.java:645) at
> > org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequ
> > estDirector.java:480) at
> > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCli
> > ent.java:906) at
> > org.apache.http.impl.client.TestStatefulConnManagement$HttpWorker.run(
> > TestStatefulConnManagement.java:177) </error> </testcase>
> >
> 
> Try running just that test case:
> 
> mvn test -Dtest=TestStatefulConnManagement
> 
> What JVM and OS are you using?
> 
> >
> > -----Original Message-----
> > From: sebb [mailto:sebbaz@gmail.com]
> > Sent: Tuesday, January 15, 2013 12:57 PM
> > To: HttpClient User Discussion
> > Subject: Re: Unit test failure
> >
> > On 15 January 2013 17:45, Mark Claassen <ma...@donnell.com> wrote:
> >> I will get a unit test failure in the same place.  Any ideas?
> >>
> >> Running org.apache.http.impl.client.TestRequestRetryHandler
> >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 
> >> sec Running org.apache.http.impl.client.TestRequestWrapper
> >> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 
> >> sec Running org.apache.http.impl.client.TestStatefulConnManagement
> >> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.283 sec <<< FAILURE!
> >
> > Have a look at the relevant Surefire details file under
> >
> > target/surefire-reports
> >
> > This will give more info on the error.
> >
> >> Running org.apache.http.impl.conn.TestAbortHandling
> >> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.186 
> >> sec Running org.apache.http.impl.conn.TestBasicConnManager
> >>
> >> -----Original Message-----
> >> From: Mark Claassen [mailto:mac01@donnell.com]
> >> Sent: Tuesday, January 15, 2013 12:35 PM
> >> To: 'HttpClient User Discussion'
> >> Subject: RE: Unit test failure
> >>
> >> Guess I will try 4.2.3 quick.
> >>
> >> -----Original Message-----
> >> From: Mark Claassen [mailto:mac01@donnell.com]
> >> Sent: Tuesday, January 15, 2013 12:26 PM
> >> To: 'HttpClient User Discussion'
> >> Subject: Unit test failure
> >>
> >> I am trying to compile HttpClient 4.2.2, but I run into a unit test 
> >> failure every time.  It doesn't say much so I am not sure what to do.
> >> Could it be my environment?  All the other tests in all the
> > other packages succeed.
> >>
> >> Running org.apache.http.impl.client.TestStatefulConnManagement
> >> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.262 sec <<< FAILURE!
> >>
> >> Thanks
> >> Mark
> >>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> >> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> >> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> >> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> > For additional commands, e-mail: httpclient-users-help@hc.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> > For additional commands, e-mail: httpclient-users-help@hc.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


RE: Unit test failure

Posted by Mark Claassen <ma...@donnell.com>.
I tried it on a different machine, this one running the same version of Java, but on a Windows 7 machine (64 bit OS, 32 bit VM).

I get the same result.  Only this time is has "Connect to localhost:56701 timed out"

-----Original Message-----
From: Mark Claassen [mailto:mac01@donnell.com] 
Sent: Tuesday, January 15, 2013 1:42 PM
To: 'HttpClient User Discussion'
Subject: RE: Unit test failure

It has not been a good day for me as far as jumping to conclusions and type-os.  It actually failed.

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.http.impl.client.TestStatefulConnManagement
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.712 sec <<< FAILURE!

Results :

Tests in error:
  testStatefulConnections(org.apache.http.impl.client.TestStatefulConnManagement): Connect to localhost:58094 timed out

Tests run: 2, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to C:\dsi\opensource\HttpClient-4.2.3\httpcomponents-client-4.2.3\httpclient\target\surefire-reports for th [INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch [INFO]
------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Tue Jan 15 13:41:21 EST 2013 [INFO] Final Memory: 45M/108M [INFO]
------------------------------------------------------------------------
C:\dsi\opensource\HttpClient-4.2.3\httpcomponents-client-4.2.3>



-----Original Message-----
From: Mark Claassen [mailto:mac01@donnell.com]
Sent: Tuesday, January 15, 2013 1:41 PM
To: 'HttpClient User Discussion'
Subject: RE: Unit test failure

That works.

I am using Java 6 update 38
My laptop is running Windows Vista

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] No tests were executed!  (Set -DfailIfNoTests=false to ignore this error.) [INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch [INFO]
------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Tue Jan 15 13:39:06 EST 2013 [INFO] Final Memory: 45M/108M [INFO]
------------------------------------------------------------------------


-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com]
Sent: Tuesday, January 15, 2013 1:26 PM
To: HttpClient User Discussion
Subject: Re: Unit test failure

On 15 January 2013 18:08, Mark Claassen <ma...@donnell.com> wrote:
> Thanks!
>
> Connect to localhost:54964
>
> Since the other tests succeeded, I can't tell if they had been using 
> this port or not.  netstat does not show it in use now (when the tests are not running).
>
>
>
> -<testcase name="testStatefulConnections" time="0.063" 
> classname="org.apache.http.impl.client.TestStatefulConnManagement">
> <error type="org.apache.http.conn.ConnectTimeoutException" 
> message="Connect to localhost:54964 timed
> out">org.apache.http.conn.ConnectTimeoutException: Connect to
> localhost:54964 timed out at
> org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSock
> etFactory.java:129) at
> org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnecti
> on(DefaultClientConnectionOperator.java:180) at 
> org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClie
> ntConnectionImpl.java:294) at
> org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultR
> equestDirector.java:645) at
> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequ
> estDirector.java:480) at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCli
> ent.java:906) at
> org.apache.http.impl.client.TestStatefulConnManagement$HttpWorker.run(
> TestStatefulConnManagement.java:177) </error> </testcase>
>

Try running just that test case:

mvn test -Dtest=TestStatefulConnManagement

What JVM and OS are you using?

>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Tuesday, January 15, 2013 12:57 PM
> To: HttpClient User Discussion
> Subject: Re: Unit test failure
>
> On 15 January 2013 17:45, Mark Claassen <ma...@donnell.com> wrote:
>> I will get a unit test failure in the same place.  Any ideas?
>>
>> Running org.apache.http.impl.client.TestRequestRetryHandler
>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 
>> sec Running org.apache.http.impl.client.TestRequestWrapper
>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 
>> sec Running org.apache.http.impl.client.TestStatefulConnManagement
>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.283 sec <<< FAILURE!
>
> Have a look at the relevant Surefire details file under
>
> target/surefire-reports
>
> This will give more info on the error.
>
>> Running org.apache.http.impl.conn.TestAbortHandling
>> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.186 
>> sec Running org.apache.http.impl.conn.TestBasicConnManager
>>
>> -----Original Message-----
>> From: Mark Claassen [mailto:mac01@donnell.com]
>> Sent: Tuesday, January 15, 2013 12:35 PM
>> To: 'HttpClient User Discussion'
>> Subject: RE: Unit test failure
>>
>> Guess I will try 4.2.3 quick.
>>
>> -----Original Message-----
>> From: Mark Claassen [mailto:mac01@donnell.com]
>> Sent: Tuesday, January 15, 2013 12:26 PM
>> To: 'HttpClient User Discussion'
>> Subject: Unit test failure
>>
>> I am trying to compile HttpClient 4.2.2, but I run into a unit test 
>> failure every time.  It doesn't say much so I am not sure what to do.
>> Could it be my environment?  All the other tests in all the
> other packages succeed.
>>
>> Running org.apache.http.impl.client.TestStatefulConnManagement
>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.262 sec <<< FAILURE!
>>
>> Thanks
>> Mark
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


RE: Unit test failure

Posted by Mark Claassen <ma...@donnell.com>.
It has not been a good day for me as far as jumping to conclusions and type-os.  It actually failed.

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.http.impl.client.TestStatefulConnManagement
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.712 sec <<< FAILURE!

Results :

Tests in error:
  testStatefulConnections(org.apache.http.impl.client.TestStatefulConnManagement): Connect to localhost:58094 timed out

Tests run: 2, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to C:\dsi\opensource\HttpClient-4.2.3\httpcomponents-client-4.2.3\httpclient\target\surefire-reports for th
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Tue Jan 15 13:41:21 EST 2013
[INFO] Final Memory: 45M/108M
[INFO] ------------------------------------------------------------------------
C:\dsi\opensource\HttpClient-4.2.3\httpcomponents-client-4.2.3>



-----Original Message-----
From: Mark Claassen [mailto:mac01@donnell.com] 
Sent: Tuesday, January 15, 2013 1:41 PM
To: 'HttpClient User Discussion'
Subject: RE: Unit test failure

That works.

I am using Java 6 update 38
My laptop is running Windows Vista

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] No tests were executed!  (Set -DfailIfNoTests=false to ignore this error.) [INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch [INFO]
------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Tue Jan 15 13:39:06 EST 2013 [INFO] Final Memory: 45M/108M [INFO]
------------------------------------------------------------------------


-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com]
Sent: Tuesday, January 15, 2013 1:26 PM
To: HttpClient User Discussion
Subject: Re: Unit test failure

On 15 January 2013 18:08, Mark Claassen <ma...@donnell.com> wrote:
> Thanks!
>
> Connect to localhost:54964
>
> Since the other tests succeeded, I can't tell if they had been using 
> this port or not.  netstat does not show it in use now (when the tests are not running).
>
>
>
> -<testcase name="testStatefulConnections" time="0.063" 
> classname="org.apache.http.impl.client.TestStatefulConnManagement">
> <error type="org.apache.http.conn.ConnectTimeoutException" 
> message="Connect to localhost:54964 timed
> out">org.apache.http.conn.ConnectTimeoutException: Connect to
> localhost:54964 timed out at
> org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSock
> etFactory.java:129) at
> org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnecti
> on(DefaultClientConnectionOperator.java:180) at 
> org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClie
> ntConnectionImpl.java:294) at
> org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultR
> equestDirector.java:645) at
> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequ
> estDirector.java:480) at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCli
> ent.java:906) at
> org.apache.http.impl.client.TestStatefulConnManagement$HttpWorker.run(
> TestStatefulConnManagement.java:177) </error> </testcase>
>

Try running just that test case:

mvn test -Dtest=TestStatefulConnManagement

What JVM and OS are you using?

>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Tuesday, January 15, 2013 12:57 PM
> To: HttpClient User Discussion
> Subject: Re: Unit test failure
>
> On 15 January 2013 17:45, Mark Claassen <ma...@donnell.com> wrote:
>> I will get a unit test failure in the same place.  Any ideas?
>>
>> Running org.apache.http.impl.client.TestRequestRetryHandler
>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 
>> sec Running org.apache.http.impl.client.TestRequestWrapper
>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 
>> sec Running org.apache.http.impl.client.TestStatefulConnManagement
>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.283 sec <<< FAILURE!
>
> Have a look at the relevant Surefire details file under
>
> target/surefire-reports
>
> This will give more info on the error.
>
>> Running org.apache.http.impl.conn.TestAbortHandling
>> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.186 
>> sec Running org.apache.http.impl.conn.TestBasicConnManager
>>
>> -----Original Message-----
>> From: Mark Claassen [mailto:mac01@donnell.com]
>> Sent: Tuesday, January 15, 2013 12:35 PM
>> To: 'HttpClient User Discussion'
>> Subject: RE: Unit test failure
>>
>> Guess I will try 4.2.3 quick.
>>
>> -----Original Message-----
>> From: Mark Claassen [mailto:mac01@donnell.com]
>> Sent: Tuesday, January 15, 2013 12:26 PM
>> To: 'HttpClient User Discussion'
>> Subject: Unit test failure
>>
>> I am trying to compile HttpClient 4.2.2, but I run into a unit test 
>> failure every time.  It doesn't say much so I am not sure what to do.  
>> Could it be my environment?  All the other tests in all the
> other packages succeed.
>>
>> Running org.apache.http.impl.client.TestStatefulConnManagement
>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.262 sec <<< FAILURE!
>>
>> Thanks
>> Mark
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


RE: Unit test failure

Posted by Mark Claassen <ma...@donnell.com>.
That works.

I am using Java 6 update 38
My laptop is running Windows Vista

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] No tests were executed!  (Set -DfailIfNoTests=false to ignore this error.)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Tue Jan 15 13:39:06 EST 2013
[INFO] Final Memory: 45M/108M
[INFO] ------------------------------------------------------------------------


-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: Tuesday, January 15, 2013 1:26 PM
To: HttpClient User Discussion
Subject: Re: Unit test failure

On 15 January 2013 18:08, Mark Claassen <ma...@donnell.com> wrote:
> Thanks!
>
> Connect to localhost:54964
>
> Since the other tests succeeded, I can't tell if they had been using 
> this port or not.  netstat does not show it in use now (when the tests are not running).
>
>
>
> -<testcase name="testStatefulConnections" time="0.063" 
> classname="org.apache.http.impl.client.TestStatefulConnManagement"> 
> <error type="org.apache.http.conn.ConnectTimeoutException" 
> message="Connect to localhost:54964 timed
> out">org.apache.http.conn.ConnectTimeoutException: Connect to 
> localhost:54964 timed out at
> org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSock
> etFactory.java:129) at
> org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnecti
> on(DefaultClientConnectionOperator.java:180) at
> org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClie
> ntConnectionImpl.java:294) at
> org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultR
> equestDirector.java:645) at
> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequ
> estDirector.java:480) at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCli
> ent.java:906) at
> org.apache.http.impl.client.TestStatefulConnManagement$HttpWorker.run(
> TestStatefulConnManagement.java:177) </error> </testcase>
>

Try running just that test case:

mvn test -Dtest=TestStatefulConnManagement

What JVM and OS are you using?

>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Tuesday, January 15, 2013 12:57 PM
> To: HttpClient User Discussion
> Subject: Re: Unit test failure
>
> On 15 January 2013 17:45, Mark Claassen <ma...@donnell.com> wrote:
>> I will get a unit test failure in the same place.  Any ideas?
>>
>> Running org.apache.http.impl.client.TestRequestRetryHandler
>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 
>> sec Running org.apache.http.impl.client.TestRequestWrapper
>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 
>> sec Running org.apache.http.impl.client.TestStatefulConnManagement
>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.283 sec <<< FAILURE!
>
> Have a look at the relevant Surefire details file under
>
> target/surefire-reports
>
> This will give more info on the error.
>
>> Running org.apache.http.impl.conn.TestAbortHandling
>> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.186 
>> sec Running org.apache.http.impl.conn.TestBasicConnManager
>>
>> -----Original Message-----
>> From: Mark Claassen [mailto:mac01@donnell.com]
>> Sent: Tuesday, January 15, 2013 12:35 PM
>> To: 'HttpClient User Discussion'
>> Subject: RE: Unit test failure
>>
>> Guess I will try 4.2.3 quick.
>>
>> -----Original Message-----
>> From: Mark Claassen [mailto:mac01@donnell.com]
>> Sent: Tuesday, January 15, 2013 12:26 PM
>> To: 'HttpClient User Discussion'
>> Subject: Unit test failure
>>
>> I am trying to compile HttpClient 4.2.2, but I run into a unit test 
>> failure every time.  It doesn't say much so I am not sure what to do.  
>> Could it be my environment?  All the other tests in all the
> other packages succeed.
>>
>> Running org.apache.http.impl.client.TestStatefulConnManagement
>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.262 sec <<< FAILURE!
>>
>> Thanks
>> Mark
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: Unit test failure

Posted by sebb <se...@gmail.com>.
On 15 January 2013 18:08, Mark Claassen <ma...@donnell.com> wrote:
> Thanks!
>
> Connect to localhost:54964
>
> Since the other tests succeeded, I can't tell if they had been using this port or not.  netstat does not show it in use now (when
> the tests are not running).
>
>
>
> -<testcase name="testStatefulConnections" time="0.063" classname="org.apache.http.impl.client.TestStatefulConnManagement"> <error
> type="org.apache.http.conn.ConnectTimeoutException" message="Connect to localhost:54964 timed
> out">org.apache.http.conn.ConnectTimeoutException: Connect to localhost:54964 timed out at
> org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:129) at
> org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) at
> org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) at
> org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:645) at
> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:480) at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) at
> org.apache.http.impl.client.TestStatefulConnManagement$HttpWorker.run(TestStatefulConnManagement.java:177) </error> </testcase>
>

Try running just that test case:

mvn test -Dtest=TestStatefulConnManagement

What JVM and OS are you using?

>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Tuesday, January 15, 2013 12:57 PM
> To: HttpClient User Discussion
> Subject: Re: Unit test failure
>
> On 15 January 2013 17:45, Mark Claassen <ma...@donnell.com> wrote:
>> I will get a unit test failure in the same place.  Any ideas?
>>
>> Running org.apache.http.impl.client.TestRequestRetryHandler
>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003
>> sec Running org.apache.http.impl.client.TestRequestWrapper
>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018
>> sec Running org.apache.http.impl.client.TestStatefulConnManagement
>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.283 sec <<< FAILURE!
>
> Have a look at the relevant Surefire details file under
>
> target/surefire-reports
>
> This will give more info on the error.
>
>> Running org.apache.http.impl.conn.TestAbortHandling
>> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.186
>> sec Running org.apache.http.impl.conn.TestBasicConnManager
>>
>> -----Original Message-----
>> From: Mark Claassen [mailto:mac01@donnell.com]
>> Sent: Tuesday, January 15, 2013 12:35 PM
>> To: 'HttpClient User Discussion'
>> Subject: RE: Unit test failure
>>
>> Guess I will try 4.2.3 quick.
>>
>> -----Original Message-----
>> From: Mark Claassen [mailto:mac01@donnell.com]
>> Sent: Tuesday, January 15, 2013 12:26 PM
>> To: 'HttpClient User Discussion'
>> Subject: Unit test failure
>>
>> I am trying to compile HttpClient 4.2.2, but I run into a unit test
>> failure every time.  It doesn't say much so I am not sure what to do.  Could it be my environment?  All the other tests in all the
> other packages succeed.
>>
>> Running org.apache.http.impl.client.TestStatefulConnManagement
>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.262 sec <<< FAILURE!
>>
>> Thanks
>> Mark
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


RE: Unit test failure

Posted by Mark Claassen <ma...@donnell.com>.
Thanks!

Connect to localhost:54964

Since the other tests succeeded, I can't tell if they had been using this port or not.  netstat does not show it in use now (when
the tests are not running).



-<testcase name="testStatefulConnections" time="0.063" classname="org.apache.http.impl.client.TestStatefulConnManagement"> <error
type="org.apache.http.conn.ConnectTimeoutException" message="Connect to localhost:54964 timed
out">org.apache.http.conn.ConnectTimeoutException: Connect to localhost:54964 timed out at
org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:129) at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) at
org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) at
org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:645) at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:480) at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) at
org.apache.http.impl.client.TestStatefulConnManagement$HttpWorker.run(TestStatefulConnManagement.java:177) </error> </testcase>



-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: Tuesday, January 15, 2013 12:57 PM
To: HttpClient User Discussion
Subject: Re: Unit test failure

On 15 January 2013 17:45, Mark Claassen <ma...@donnell.com> wrote:
> I will get a unit test failure in the same place.  Any ideas?
>
> Running org.apache.http.impl.client.TestRequestRetryHandler
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 
> sec Running org.apache.http.impl.client.TestRequestWrapper
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 
> sec Running org.apache.http.impl.client.TestStatefulConnManagement
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.283 sec <<< FAILURE!

Have a look at the relevant Surefire details file under

target/surefire-reports

This will give more info on the error.

> Running org.apache.http.impl.conn.TestAbortHandling
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.186 
> sec Running org.apache.http.impl.conn.TestBasicConnManager
>
> -----Original Message-----
> From: Mark Claassen [mailto:mac01@donnell.com]
> Sent: Tuesday, January 15, 2013 12:35 PM
> To: 'HttpClient User Discussion'
> Subject: RE: Unit test failure
>
> Guess I will try 4.2.3 quick.
>
> -----Original Message-----
> From: Mark Claassen [mailto:mac01@donnell.com]
> Sent: Tuesday, January 15, 2013 12:26 PM
> To: 'HttpClient User Discussion'
> Subject: Unit test failure
>
> I am trying to compile HttpClient 4.2.2, but I run into a unit test 
> failure every time.  It doesn't say much so I am not sure what to do.  Could it be my environment?  All the other tests in all the
other packages succeed.
>
> Running org.apache.http.impl.client.TestStatefulConnManagement
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.262 sec <<< FAILURE!
>
> Thanks
> Mark
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: Unit test failure

Posted by sebb <se...@gmail.com>.
On 15 January 2013 17:45, Mark Claassen <ma...@donnell.com> wrote:
> I will get a unit test failure in the same place.  Any ideas?
>
> Running org.apache.http.impl.client.TestRequestRetryHandler
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
> Running org.apache.http.impl.client.TestRequestWrapper
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
> Running org.apache.http.impl.client.TestStatefulConnManagement
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.283 sec <<< FAILURE!

Have a look at the relevant Surefire details file under

target/surefire-reports

This will give more info on the error.

> Running org.apache.http.impl.conn.TestAbortHandling
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.186 sec
> Running org.apache.http.impl.conn.TestBasicConnManager
>
> -----Original Message-----
> From: Mark Claassen [mailto:mac01@donnell.com]
> Sent: Tuesday, January 15, 2013 12:35 PM
> To: 'HttpClient User Discussion'
> Subject: RE: Unit test failure
>
> Guess I will try 4.2.3 quick.
>
> -----Original Message-----
> From: Mark Claassen [mailto:mac01@donnell.com]
> Sent: Tuesday, January 15, 2013 12:26 PM
> To: 'HttpClient User Discussion'
> Subject: Unit test failure
>
> I am trying to compile HttpClient 4.2.2, but I run into a unit test failure every time.  It doesn't say much so I am not sure what
> to do.  Could it be my environment?  All the other tests in all the other packages succeed.
>
> Running org.apache.http.impl.client.TestStatefulConnManagement
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.262 sec <<< FAILURE!
>
> Thanks
> Mark
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


RE: Unit test failure

Posted by Mark Claassen <ma...@donnell.com>.
I will get a unit test failure in the same place.  Any ideas?

Running org.apache.http.impl.client.TestRequestRetryHandler
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.http.impl.client.TestRequestWrapper
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
Running org.apache.http.impl.client.TestStatefulConnManagement
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.283 sec <<< FAILURE!
Running org.apache.http.impl.conn.TestAbortHandling
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.186 sec
Running org.apache.http.impl.conn.TestBasicConnManager

-----Original Message-----
From: Mark Claassen [mailto:mac01@donnell.com] 
Sent: Tuesday, January 15, 2013 12:35 PM
To: 'HttpClient User Discussion'
Subject: RE: Unit test failure

Guess I will try 4.2.3 quick.

-----Original Message-----
From: Mark Claassen [mailto:mac01@donnell.com]
Sent: Tuesday, January 15, 2013 12:26 PM
To: 'HttpClient User Discussion'
Subject: Unit test failure

I am trying to compile HttpClient 4.2.2, but I run into a unit test failure every time.  It doesn't say much so I am not sure what
to do.  Could it be my environment?  All the other tests in all the other packages succeed.

Running org.apache.http.impl.client.TestStatefulConnManagement
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.262 sec <<< FAILURE!

Thanks
Mark




---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


RE: Unit test failure

Posted by Mark Claassen <ma...@donnell.com>.
Guess I will try 4.2.3 quick.

-----Original Message-----
From: Mark Claassen [mailto:mac01@donnell.com] 
Sent: Tuesday, January 15, 2013 12:26 PM
To: 'HttpClient User Discussion'
Subject: Unit test failure

I am trying to compile HttpClient 4.2.2, but I run into a unit test failure every time.  It doesn't say much so I am not sure what
to do.  Could it be my environment?  All the other tests in all the other packages succeed.

Running org.apache.http.impl.client.TestStatefulConnManagement
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.262 sec <<< FAILURE!

Thanks
Mark




---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org