You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by me...@apache.org on 2024/02/08 07:37:36 UTC
(hbase) branch branch-3 updated: HBASE-28254 Flaky test: TestTableShell (#5590)
This is an automated email from the ASF dual-hosted git repository.
meszibalu pushed a commit to branch branch-3
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-3 by this push:
new 2ce1109884a HBASE-28254 Flaky test: TestTableShell (#5590)
2ce1109884a is described below
commit 2ce1109884a5eb8d9fde1ad5f516af3145dfb6ca
Author: Andor Molnár <an...@cloudera.com>
AuthorDate: Tue Dec 19 21:43:29 2023 +0100
HBASE-28254 Flaky test: TestTableShell (#5590)
Add some delay (1/1000s) between HBase shell commands in Ruby to avoid two commands ending up with the same version.
Signed-off-by: Wellington Ramos Chevreuil <wc...@apache.org>
Signed-off-by: Nihal Jain <ni...@apache.org>
Signed-off-by: Balazs Meszaros <me...@apache.org>
---
hbase-shell/src/test/ruby/hbase/table_test.rb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/hbase-shell/src/test/ruby/hbase/table_test.rb b/hbase-shell/src/test/ruby/hbase/table_test.rb
index 05b80725efc..8ed6f663dbd 100644
--- a/hbase-shell/src/test/ruby/hbase/table_test.rb
+++ b/hbase-shell/src/test/ruby/hbase/table_test.rb
@@ -681,11 +681,15 @@ module Hbase
create_test_table(@test_name_raw)
@test_table = table(@test_name_raw)
- # Instert test data
+ # Insert test data
@test_table.put(1, "x:a", 1)
+ sleep(1.0/1000.0)
@test_table.put(2, "x:raw1", 11)
+ sleep(1.0/1000.0)
@test_table.put(2, "x:raw1", 11)
+ sleep(1.0/1000.0)
@test_table.put(2, "x:raw1", 11)
+ sleep(1.0/1000.0)
@test_table.put(2, "x:raw1", 11)
args = {}