diff --git a/chef/src/test/java/org/jclouds/chef/ChefAsyncClientTest.java b/chef/src/test/java/org/jclouds/chef/ChefAsyncClientTest.java index 9d3d1f5feb..7230ee0fb7 100644 --- a/chef/src/test/java/org/jclouds/chef/ChefAsyncClientTest.java +++ b/chef/src/test/java/org/jclouds/chef/ChefAsyncClientTest.java @@ -43,6 +43,7 @@ import org.jclouds.encryption.EncryptionService; import org.jclouds.http.HttpRequest; import org.jclouds.http.RequiresHttp; import org.jclouds.http.functions.ParseJson; +import org.jclouds.http.functions.ReleasePayloadAndReturn; import org.jclouds.http.functions.ReturnTrueIf2xx; import org.jclouds.rest.ConfiguresRestClient; import org.jclouds.rest.RestClientTest; @@ -294,7 +295,7 @@ public class ChefAsyncClientTest extends RestClientTest { "{\"name\":\"testnode\",\"normal\":{},\"override\":{},\"default\":{},\"automatic\":{},\"run_list\":[\"recipe[java]\"],\"json_class\":\"Chef::Node\",\"chef_type\":\"node\"}", "application/json", false); - assertResponseParserClassEquals(method, httpRequest, ParseJson.class); + assertResponseParserClassEquals(method, httpRequest, ReleasePayloadAndReturn.class); assertSaxResponseParserClassEquals(method, null); assertExceptionParserClassEquals(method, null); diff --git a/chef/src/test/java/org/jclouds/chef/strategy/internal/CleanupStaleNodesAndClientsImplTest.java b/chef/src/test/java/org/jclouds/chef/strategy/internal/CleanupStaleNodesAndClientsImplLiveTest.java similarity index 96% rename from chef/src/test/java/org/jclouds/chef/strategy/internal/CleanupStaleNodesAndClientsImplTest.java rename to chef/src/test/java/org/jclouds/chef/strategy/internal/CleanupStaleNodesAndClientsImplLiveTest.java index 84f0499703..52feca0100 100644 --- a/chef/src/test/java/org/jclouds/chef/strategy/internal/CleanupStaleNodesAndClientsImplTest.java +++ b/chef/src/test/java/org/jclouds/chef/strategy/internal/CleanupStaleNodesAndClientsImplLiveTest.java @@ -35,7 +35,7 @@ import com.google.common.collect.ImmutableSet; * @author Adrian Cole */ @Test(groups = "live", testName = "chef.CleanupStaleNodesAndClientsImplLiveTest") -public class CleanupStaleNodesAndClientsImplTest extends BaseChefStrategyLiveTest { +public class CleanupStaleNodesAndClientsImplLiveTest extends BaseChefStrategyLiveTest { private CreateNodeAndPopulateAutomaticAttributesImpl creater; private CleanupStaleNodesAndClientsImpl strategy; private ChefClient chef; diff --git a/chef/src/test/resources/log4j.xml b/chef/src/test/resources/log4j.xml index 0e4fac1d4b..4cf98d7922 100644 --- a/chef/src/test/resources/log4j.xml +++ b/chef/src/test/resources/log4j.xml @@ -1,31 +1,58 @@ - + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ==================================================================== + +--> - + + debug="false"> + + + + + + + + + + + + + + + + + + + + + + @@ -38,64 +65,56 @@ - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - - + + @@ -106,12 +125,18 @@ - - - + + + + - - - + + + + + + + + \ No newline at end of file