diff --git a/server/etcdserver/server.go b/server/etcdserver/server.go index 590c98c8e..dac10ad5a 100644 --- a/server/etcdserver/server.go +++ b/server/etcdserver/server.go @@ -1874,7 +1874,7 @@ func (s *EtcdServer) apply( return appliedt, appliedi, shouldStop } -// applyEntryNormal apples an EntryNormal type raftpb request to the EtcdServer +// applyEntryNormal applies an EntryNormal type raftpb request to the EtcdServer func (s *EtcdServer) applyEntryNormal(e *raftpb.Entry) { shouldApplyV3 := membership.ApplyV2storeOnly index := s.consistIndex.ConsistentIndex() diff --git a/tests/integration/clientv3/snapshot/v3_snapshot_test.go b/tests/integration/clientv3/snapshot/v3_snapshot_test.go index 9222a37cb..c61188981 100644 --- a/tests/integration/clientv3/snapshot/v3_snapshot_test.go +++ b/tests/integration/clientv3/snapshot/v3_snapshot_test.go @@ -89,7 +89,7 @@ func newEmbedConfig(t *testing.T) *embed.Config { // creates a snapshot file and returns the file path. func createSnapshotFile(t *testing.T, cfg *embed.Config, kvs []kv) (version string, dbPath string) { testutil.SkipTestIfShortMode(t, - "Snapshot creation tests are depending on embedded etcServer so are integration-level tests.") + "Snapshot creation tests are depending on embedded etcd server so are integration-level tests.") srv, err := embed.StartEtcd(cfg) if err != nil { diff --git a/tests/integration/snapshot/v3_snapshot_test.go b/tests/integration/snapshot/v3_snapshot_test.go index dd1ee5226..1cad1e1e6 100644 --- a/tests/integration/snapshot/v3_snapshot_test.go +++ b/tests/integration/snapshot/v3_snapshot_test.go @@ -170,7 +170,7 @@ type kv struct { // creates a snapshot file and returns the file path. func createSnapshotFile(t *testing.T, kvs []kv) string { testutil.SkipTestIfShortMode(t, - "Snapshot creation tests are depending on embedded etcServer so are integration-level tests.") + "Snapshot creation tests are depending on embedded etcd server so are integration-level tests.") clusterN := 1 urls := newEmbedURLs(clusterN * 2) cURLs, pURLs := urls[:clusterN], urls[clusterN:] diff --git a/tests/integration/utl_wal_version_test.go b/tests/integration/utl_wal_version_test.go index 1290b76ae..cbed561bd 100644 --- a/tests/integration/utl_wal_version_test.go +++ b/tests/integration/utl_wal_version_test.go @@ -33,7 +33,7 @@ import ( func TestEtcdVersionFromWAL(t *testing.T) { testutil.SkipTestIfShortMode(t, - "Wal creation tests are depending on embedded etcServer so are integration-level tests.") + "Wal creation tests are depending on embedded etcd server so are integration-level tests.") cfg := NewEmbedConfig(t, "default") srv, err := embed.StartEtcd(cfg) if err != nil {