You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zg...@apache.org on 2019/03/12 12:45:25 UTC
[hbase] 37/133: HBASE-16174 Hook cell test up,
and fix broken cell test.
This is an automated email from the ASF dual-hosted git repository.
zghao pushed a commit to branch HBASE-14850
in repository https://gitbox.apache.org/repos/asf/hbase.git
commit 138b373ed00d4b77c61a8aad7870bd6bdac4269c
Author: Elliott Clark <ec...@apache.org>
AuthorDate: Tue Jul 5 11:13:01 2016 -0700
HBASE-16174 Hook cell test up, and fix broken cell test.
---
hbase-native-client/core/BUCK | 8 ++++++++
hbase-native-client/core/cell-test.cc | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/hbase-native-client/core/BUCK b/hbase-native-client/core/BUCK
index 1c926e3..c615426 100644
--- a/hbase-native-client/core/BUCK
+++ b/hbase-native-client/core/BUCK
@@ -20,6 +20,7 @@ cxx_library(
name="core",
exported_headers=[
"client.h",
+ "cell.h",
"hbase_macros.h",
"region-location.h",
"location-cache.h",
@@ -28,6 +29,7 @@ cxx_library(
"meta-utils.h",
],
srcs=[
+ "cell.cc",
"client.cc",
"location-cache.cc",
"meta-utils.cc",
@@ -51,6 +53,12 @@ cxx_test(name="location-cache-test",
deps=[":core",
"//test-util:test-util", ],
run_test_separately=True, )
+cxx_test(name="cell-test",
+ srcs=[
+ "cell-test.cc",
+ ],
+ deps=[":core", ],
+ run_test_separately=True, )
cxx_binary(name="simple-client",
srcs=["simple-client.cc", ],
deps=[":core", "//connection:connection"], )
diff --git a/hbase-native-client/core/cell-test.cc b/hbase-native-client/core/cell-test.cc
index cbe50eb..49f567b 100644
--- a/hbase-native-client/core/cell-test.cc
+++ b/hbase-native-client/core/cell-test.cc
@@ -100,7 +100,7 @@ TEST(CellTest, MultipleCellsTest) {
TEST(CellTest, CellRowTest) {
std::string row = "only-row";
- std::string family = "";
+ std::string family = "D";
std::string column = "";
std::string value = "";
long timestamp = std::numeric_limits<long>::max();