surajj-naik opened a new pull request #24:
URL: https://github.com/apache/ambari-metrics/pull/24


   Issue:
   ```
   Running org.apache.ambari.metrics.webapp.TestTimelineWebServicesTests run: 
2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.294 sec <<< FAILURE! - 
in 
org.apache.ambari.metrics.webapp.TestTimelineWebServicestestAbout(org.apache.ambari.metrics.webapp.TestTimelineWebServices)
 
   Time elapsed: 0.005 sec  
   <<< 
ERROR!com.sun.jersey.test.framework.spi.container.TestContainerException: 
java.net.BindException: Address already in use
   at 
org.apache.ambari.metrics.webapp.TestTimelineWebServices.<init>(TestTimelineWebServices.java:77)
   Caused by: java.net.BindException: Address already in useat 
org.apache.ambari.metrics.webapp.TestTimelineWebServices.<init>(TestTimelineWebServices.java:77)
   testGetMetrics(org.apache.ambari.metrics.webapp.TestTimelineWebServices)  
   Time elapsed: 0.001 sec  <<< 
ERROR!com.sun.jersey.test.framework.spi.container.TestContainerException: 
java.net.BindException: Address already in use
   at 
org.apache.ambari.metrics.webapp.TestTimelineWebServices.<init>(TestTimelineWebServices.java:77)
   Caused by: java.net.BindException: Address already in use
   at 
org.apache.ambari.metrics.webapp.TestTimelineWebServices.<init>(TestTimelineWebServices.java:77)
   Results :Tests in 
error:TestTimelineWebServices.<init>:77->JerseyTestBase.<init>:27->JerseyTest.<init>:217->JerseyTest.getContainer:342
 » 
TestContainerTestTimelineWebServices.<init>:77->JerseyTestBase.<init>:27->JerseyTest.<init>:217->JerseyTest.getContainer:342
 » TestContainer
   ```
   
   Fix:
   I am use the JerseyTestBase class from yarn that uses incremental port 
number to find the free port.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to