From ceb0d5e68bc6cbf8015be6d5dd785991fbc81455 Mon Sep 17 00:00:00 2001 From: Andrew Kyle Purtell Date: Thu, 2 Jul 2009 07:49:39 +0000 Subject: [PATCH] fix spurious 400s produced by test git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@790486 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/hadoop/hbase/stargate/TestRowResource.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/contrib/stargate/src/test/org/apache/hadoop/hbase/stargate/TestRowResource.java b/src/contrib/stargate/src/test/org/apache/hadoop/hbase/stargate/TestRowResource.java index 0a8b9b702a5..fa760181a40 100644 --- a/src/contrib/stargate/src/test/org/apache/hadoop/hbase/stargate/TestRowResource.java +++ b/src/contrib/stargate/src/test/org/apache/hadoop/hbase/stargate/TestRowResource.java @@ -317,7 +317,7 @@ public class TestRowResource extends MiniClusterTestCase { Thread.yield(); // make sure the fake row was not actually created - response = client.get(path); + response = client.get(path, MIMETYPE_XML); assertEquals(response.getCode(), 404); // check that all of the values were created @@ -349,7 +349,7 @@ public class TestRowResource extends MiniClusterTestCase { Thread.yield(); // make sure the fake row was not actually created - response = client.get(path); + response = client.get(path, MIMETYPE_PROTOBUF); assertEquals(response.getCode(), 404); // check that all of the values were created