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
The following commit(s) were added to refs/heads/master by this push:
new 07e85f4 [tests] fix a few typos in comments
07e85f4 is described below
commit 07e85f4e3c4f99a68d4fd4f5d799de60a28150e4
Author: Alexey Serbin <[email protected]>
AuthorDate: Mon May 3 21:53:04 2021 -0700
[tests] fix a few typos in comments
This patch does not contain any functional changes.
Change-Id: I2e8e7275b9816a35fcce58590c1a7e6754adf201
Reviewed-on: http://gerrit.cloudera.org:8080/17394
Reviewed-by: Alexey Serbin <[email protected]>
Tested-by: Kudu Jenkins
---
src/kudu/integration-tests/master_cert_authority-itest.cc | 2 +-
src/kudu/integration-tests/table_locations-itest.cc | 2 +-
src/kudu/tserver/tablet_server-test-base.cc | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/kudu/integration-tests/master_cert_authority-itest.cc
b/src/kudu/integration-tests/master_cert_authority-itest.cc
index 6c0e142..925969c 100644
--- a/src/kudu/integration-tests/master_cert_authority-itest.cc
+++ b/src/kudu/integration-tests/master_cert_authority-itest.cc
@@ -330,7 +330,7 @@ TEST_F(MasterCertAuthorityTest, MasterLeaderSignsCSR) {
}
// Shutdown the leader master and check the new leader signs
- // certificate request sent in a tablet server hearbeat.
+ // certificate request sent in a tablet server heartbeat.
int leader_idx;
ASSERT_OK(cluster_->GetLeaderMasterIndex(&leader_idx));
MiniMaster* leader_master = cluster_->mini_master(leader_idx);
diff --git a/src/kudu/integration-tests/table_locations-itest.cc
b/src/kudu/integration-tests/table_locations-itest.cc
index 3338fae..ed10d5e 100644
--- a/src/kudu/integration-tests/table_locations-itest.cc
+++ b/src/kudu/integration-tests/table_locations-itest.cc
@@ -1271,7 +1271,7 @@ TEST_F(TableLocationsCacheMultiMasterTest, ResetCache) {
// number of masters in the cluster).
for (auto idx = 0; idx < cluster_->num_masters(); ++idx) {
ASSERT_OK(cluster_->master(idx)->Pause());
- // Make one master to stop sending hearbeats, and give the rest about
+ // Make one master to stop sending heartbeats, and give the rest about
// three heartbeat periods to elect a new leader in case if the stopped
// master was a leader.
SleepFor(MonoDelta::FromMilliseconds(
diff --git a/src/kudu/tserver/tablet_server-test-base.cc
b/src/kudu/tserver/tablet_server-test-base.cc
index ac1c779..1337ee1 100644
--- a/src/kudu/tserver/tablet_server-test-base.cc
+++ b/src/kudu/tserver/tablet_server-test-base.cc
@@ -32,6 +32,7 @@
#include "kudu/common/common.pb.h"
#include "kudu/common/iterator.h"
#include "kudu/common/partial_row.h"
+#include "kudu/common/row_operations.pb.h"
#include "kudu/common/rowblock.h"
#include "kudu/common/rowblock_memory.h"
#include "kudu/common/wire_protocol-test-util.h"
@@ -91,7 +92,7 @@ TabletServerTestBase::TabletServerTestBase()
// Decrease heartbeat timeout: we keep re-trying heartbeats when a
// single master server fails due to a network error. Decreasing
- // the hearbeat timeout to 1 second speeds up unit tests which
+ // the heartbeat timeout to 1 second speeds up unit tests which
// purposefully specify non-running Master servers.
FLAGS_heartbeat_rpc_timeout_ms = 1000;
}