jclouds/jclouds-chef — pull request #16 by nacx (2012-06-28 14:00:00+00:00)
Title: Fixed chef-core live tests

See the commit details for a list of things that have been changed.

The current live test execution status is:
_Tests run: 44, Failures: 1, Errors: 0, Skipped: 1_

There is one single test still failing (testCreateNewCookbook), which is preventing the testUpdateCookbook and testCreateCookbook methods to be executed.
I enabled the testListCookbooks, but kept the update and create depending on the testCreateNewCookbook test in order to manipullate only the cookbooks created by the tests.

Regarding the failure, the following error appears:
_testCreateNewCookbook(org.jclouds.chef.ChefClientLiveTest): command: PUT http://80.169.246.206:4000/cookbooks/test3/0.0.0 HTTP/1.1 failed with response: HTTP/1.1 400 Bad Request; content: [Manifest has checksum bdc4649f4ed602e1c6013ec2856b62a3 (path /opt/src/jclouds-chef/core/pom.xml) but it hasn't yet been uploaded]_

The contents have been successfully uploaded to the sandbox and it has been commited (I verified that in the Chef server logs), but the upload cookbook call is failing for a reason I still don't understand. Any help is welcome!

Once this is fixed, i hope it will be pretty straightforward to enable and fix the two remaining live tests and have it 100% passing.