phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffr...@apache.org
Subject [29/36] git commit: Fix broken unit test
Date Mon, 10 Mar 2014 04:22:00 GMT
Fix broken unit test


Project: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/commit/96e9a4ba
Tree: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/tree/96e9a4ba
Diff: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/diff/96e9a4ba

Branch: refs/heads/4.0
Commit: 96e9a4baeb6cac855670e547d0618f7aff4ba64f
Parents: 12e5658
Author: James Taylor <jamestaylor@apache.org>
Authored: Sun Mar 9 09:27:06 2014 -0700
Committer: James Taylor <jamestaylor@apache.org>
Committed: Sun Mar 9 09:27:06 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/phoenix/schema/PDataTypeForArraysTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-phoenix/blob/96e9a4ba/phoenix-core/src/test/java/org/apache/phoenix/schema/PDataTypeForArraysTest.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/test/java/org/apache/phoenix/schema/PDataTypeForArraysTest.java
b/phoenix-core/src/test/java/org/apache/phoenix/schema/PDataTypeForArraysTest.java
index d3e2d0c..29732f3 100644
--- a/phoenix-core/src/test/java/org/apache/phoenix/schema/PDataTypeForArraysTest.java
+++ b/phoenix-core/src/test/java/org/apache/phoenix/schema/PDataTypeForArraysTest.java
@@ -190,7 +190,7 @@ public class PDataTypeForArraysTest {
 				PDataType.CHAR, strArr);
 		byte[] bytes = PDataType.CHAR_ARRAY.toBytes(arr);
 		PhoenixArray resultArr = (PhoenixArray) PDataType.CHAR_ARRAY.toObject(
-				bytes, 0, bytes.length);
+				bytes, 0, bytes.length, PDataType.CHAR_ARRAY, null, 1, null);
 		assertEquals(arr, resultArr);
 	}
 


Mime
View raw message