Skip to content

Commit

Permalink
resolve the conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <[email protected]>
  • Loading branch information
rleungx committed Feb 9, 2024
1 parent 5bf59c9 commit 8670bb9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/election/lease_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ package election

import (
"context"
"testing"
"time"

. "github.com/pingcap/check"
"github.com/stretchr/testify/require"
"github.com/tikv/pd/pkg/etcdutil"
"go.etcd.io/etcd/clientv3"
"go.etcd.io/etcd/embed"
Expand Down Expand Up @@ -107,7 +109,7 @@ func (s *testLeaseSuite) TestLease(c *C) {

func TestLeaseKeepAlive(t *testing.T) {
re := require.New(t)
cfg := etcdutil.NewTestSingleConfig(t)
cfg := etcdutil.NewTestSingleConfig()
etcd, err := embed.StartEtcd(cfg)
defer func() {
etcd.Close()
Expand Down

0 comments on commit 8670bb9

Please sign in to comment.