https://github.com/jclouds/jclouds-labs-openstack/pull/16

Not completely sure it preserves the "spirit" of the test. Let me know.

Thanks!

-----Original Message-----
From: Zack Shoylev [mailto:[email protected]] 
Sent: Wednesday, July 10, 2013 10:28 AM
To: [email protected]
Subject: RE: 1.6.x openstack-glance build infinite loop

Alright, I found the problem:
testCreateWhenResponseIs4xx() uses a status code of 401 which causes the 
retries. I will fix the test.

Thanks!

-----Original Message-----
From: Zack Shoylev [mailto:[email protected]] 
Sent: Wednesday, July 10, 2013 10:19 AM
To: [email protected]
Subject: RE: 1.6.x openstack-glance build infinite loop

Hi Ignasi,

This is related to my fix from yesterday. As the test uses a 403 code the 
authentication code will try to get a new token.
I am thinking perhaps this needs to be limited to a 401. I will look.

Zack

-----Original Message-----
From: Ignasi [mailto:[email protected]] 
Sent: Wednesday, July 10, 2013 8:55 AM
To: dev
Subject: 1.6.x openstack-glance build infinite loop

Hi!

I am trying to build the 1.6.x branch for jclouds-labs, and the build takes 
forever. I've debugged a bit, and I've found that the 
ImageApiExpectTest.testCreateWhenResponseIs4xx test does never terminate.

It is weird because the master branch builds without issues and the test has 
not changed. From what I've been able to find, it seems that there is an 
infinite loop retrying the request when the 401 error is reported. Is that 
possible?

Could some openstack guru could take a look at this?


(BTW, I am using Java7, but I think it shouldn't matter)

I also noticed that we don't have builds for the 1.6.x branches in the labs 
projects. Should we set them up?


Thanks!


Ignasi

Reply via email to