From ab99e2486ef5ea9b4511507350d60403fc271cf6 Mon Sep 17 00:00:00 2001 From: Guanghao Zhang Date: Sun, 2 Jun 2019 11:58:34 +0800 Subject: [PATCH] HBASE-22522 The integration test in master branch's nightly job has error "ERROR: Only found 1050 rows." --- dev-support/hbase_nightly_pseudo-distributed-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-support/hbase_nightly_pseudo-distributed-test.sh b/dev-support/hbase_nightly_pseudo-distributed-test.sh index 11ad609cf85..2d77184ceda 100755 --- a/dev-support/hbase_nightly_pseudo-distributed-test.sh +++ b/dev-support/hbase_nightly_pseudo-distributed-test.sh @@ -518,8 +518,8 @@ EOF echo "Verifying row count from example." example_rowcount=$(echo 'count "test:example"' | "${hbase_client}/bin/hbase" --config "${working_dir}/hbase-conf/" shell --noninteractive 2>/dev/null | tail -n 1) -if [ "${example_rowcount}" -gt "1050" ]; then - echo "Found ${example_rowcount} rows, which is enough to cover 48 for import, 1000 example's use of user table regions, 2 for example's use of meta/root regions, and 1 for example's count record" +if [ "${example_rowcount}" -gt "1049" ]; then + echo "Found ${example_rowcount} rows, which is enough to cover 48 for import, 1000 example's use of user table regions, 1 for example's use of meta region, and 1 for example's count record" else echo "ERROR: Only found ${example_rowcount} rows." fi