This is an automated email from the ASF dual-hosted git repository. alexey pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kudu.git
commit a1ea45ecb5ca7ab8d257a6b22a36fb85ca9353d6 Author: Alexey Serbin <[email protected]> AuthorDate: Mon Feb 15 19:09:43 2021 -0800 [txn_commit-itest] use hash partitioned table for tests This patch switches the test table auto-created by TestWorkload to be of the hash partitioned type. This allows for easier reasoning what tablets are to receive write operations when inserting a few test rows with adjacent integer keys. This change is essential for a follow-up patch https://gerrit.cloudera.org/#/c/17037/ Change-Id: I8c0bfa803e115d5731e873aa3972bff29f4e93a7 Reviewed-on: http://gerrit.cloudera.org:8080/17068 Tested-by: Alexey Serbin <[email protected]> Reviewed-by: Andrew Wong <[email protected]> --- src/kudu/integration-tests/txn_commit-itest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kudu/integration-tests/txn_commit-itest.cc b/src/kudu/integration-tests/txn_commit-itest.cc index 2eb87e5..cf3bf8f 100644 --- a/src/kudu/integration-tests/txn_commit-itest.cc +++ b/src/kudu/integration-tests/txn_commit-itest.cc @@ -148,7 +148,7 @@ class TxnCommitITest : public KuduTest { ASSERT_TRUE(pb.has_real_user()); client_user_ = pb.real_user(); - TestWorkload w(cluster_.get()); + TestWorkload w(cluster_.get(), TestWorkload::PartitioningType::HASH); w.set_num_replicas(num_replicas); w.set_num_tablets(2); w.Setup();
