Skip to content

Commit

Permalink
Address the comments
Browse files Browse the repository at this point in the history
Signed-off-by: JmPotato <[email protected]>
  • Loading branch information
JmPotato committed Jun 20, 2022
1 parent d095bef commit 98bfdb5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/server/join/join_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func TestFailedAndDeletedPDJoinsPreviousCluster(t *testing.T) {

// The server should not successfully start.
res := cluster.RunServer(pd3)
re.NotNil(<-res)
re.Error(<-res)

members, err := etcdutil.ListEtcdMembers(client)
re.NoError(err)
Expand Down Expand Up @@ -136,7 +136,7 @@ func TestDeletedPDJoinsPreviousCluster(t *testing.T) {

// The server should not successfully start.
res := cluster.RunServer(pd3)
re.NotNil(<-res)
re.Error(<-res)

members, err := etcdutil.ListEtcdMembers(client)
re.NoError(err)
Expand All @@ -160,5 +160,5 @@ func TestFailedPDJoinsPreviousCluster(t *testing.T) {
re.NoError(pd2.Run())
re.NoError(pd2.Stop())
re.NoError(pd2.Destroy())
re.NotNil(join.PrepareJoinCluster(pd2.GetConfig()))
re.Error(join.PrepareJoinCluster(pd2.GetConfig()))
}

0 comments on commit 98bfdb5

Please sign in to comment.