You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2020/03/30 15:52:40 UTC

[hbase] branch branch-2.1 updated: HBASE-24076 TestQuotasShell is broken (#1382)

This is an automated email from the ASF dual-hosted git repository.

stack pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 3f114df  HBASE-24076 TestQuotasShell is broken (#1382)
3f114df is described below

commit 3f114df351fd9cc9869c2db145d760430299c138
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Mon Mar 30 23:52:26 2020 +0800

    HBASE-24076 TestQuotasShell is broken (#1382)
---
 hbase-shell/src/test/ruby/hbase/quotas_test.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hbase-shell/src/test/ruby/hbase/quotas_test.rb b/hbase-shell/src/test/ruby/hbase/quotas_test.rb
index 1956ba5..8eac492 100644
--- a/hbase-shell/src/test/ruby/hbase/quotas_test.rb
+++ b/hbase-shell/src/test/ruby/hbase/quotas_test.rb
@@ -180,7 +180,7 @@ module Hbase
     define_test 'can set and remove quota' do
       command(:set_quota, TYPE => SPACE, LIMIT => '1G', POLICY => NO_INSERTS, TABLE => @test_name)
       output = capture_stdout{ command(:list_quotas) }
-      assert(output.include?("LIMIT => 1G"))
+      assert(output.include?("LIMIT => 1.00G"))
       assert(output.include?("VIOLATION_POLICY => NO_INSERTS"))
       assert(output.include?("TYPE => SPACE"))
       assert(output.include?("TABLE => #{@test_name}"))