Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
Signed-off-by: husharp <ihusharp@gmail.com>
  • Loading branch information
HuSharp committed Aug 13, 2024
1 parent 43dba1c commit d8df992
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions pkg/manager/member/pd_upgrader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@ func TestPDUpgraderUpgrade(t *testing.T) {
}
return membersInfo, nil
})

pdClient.GetMembers()

etcdClient.AddReaction(pdapi.EtcdUpdateMemberActionType, func(action *pdapi.Action) (interface{}, error) {
return nil, nil
})
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/tidbcluster/tidbcluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@ var _ = ginkgo.Describe("TiDBCluster", func() {
tc.Spec.TiDB.TLSClient.SkipInternalClientCA = sc.skipCA
tc.Spec.TLSCluster = &v1alpha1.TLSCluster{Enabled: true}

err = genericCli.Create(context.TODO(), tc)
err = genericCli.Update(context.TODO(), tc)
framework.ExpectNoError(err, "failed to create TidbCluster: %q", tc.Name)
err = oa.WaitForTidbClusterReady(tc, 30*time.Minute, 5*time.Second)
framework.ExpectNoError(err, "wait for TidbCluster ready timeout: %q", tc.Name)
Expand Down

0 comments on commit d8df992

Please sign in to comment.