You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2018/08/28 06:32:11 UTC

hbase git commit: HBASE-20968 list_procedures_test fails due to no matching regex

Repository: hbase
Updated Branches:
  refs/heads/master 508925652 -> f1d9377a7


HBASE-20968 list_procedures_test fails due to no matching regex


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f1d9377a
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f1d9377a
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f1d9377a

Branch: refs/heads/master
Commit: f1d9377a7fd40f22e79f1d865642875d98791a44
Parents: 5089256
Author: zhangduo <zh...@apache.org>
Authored: Tue Aug 21 09:09:28 2018 +0800
Committer: Duo Zhang <zh...@apache.org>
Committed: Tue Aug 28 14:23:20 2018 +0800

----------------------------------------------------------------------
 hbase-shell/src/test/ruby/shell/list_procedures_test.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/f1d9377a/hbase-shell/src/test/ruby/shell/list_procedures_test.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/test/ruby/shell/list_procedures_test.rb b/hbase-shell/src/test/ruby/shell/list_procedures_test.rb
index 8d5c83d..1cad23b 100644
--- a/hbase-shell/src/test/ruby/shell/list_procedures_test.rb
+++ b/hbase-shell/src/test/ruby/shell/list_procedures_test.rb
@@ -49,7 +49,9 @@ module Hbase
       procedure = org.apache.hadoop.hbase.client.procedure.ShellTestProcedure.new
       procedure.tableNameString = 'table1'
 
-      @executor.submitProcedure(procedure)
+      proc_id = @executor.submitProcedure(procedure)
+      sleep(0.1) until @executor.isFinished(proc_id)
+
       output = capture_stdout { @list_procedures.command }
 
       regexp = create_procedure_regexp('table1')