Skip to content

Commit

Permalink
cluster/executor: fix the unnecessary conversion (unconvert)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsvisa committed Jun 12, 2021
1 parent 5c8e84f commit e288ed1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/cluster/executor/ssh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestNativeSSHConfigArgs(t *testing.T) {
},
{
&SSHConfig{
Timeout: time.Duration(60 * time.Second),
Timeout: 60 * time.Second,
Port: 23,
KeyFile: "id_rsa",
},
Expand All @@ -45,7 +45,7 @@ func TestNativeSSHConfigArgs(t *testing.T) {
},
{
&SSHConfig{
Timeout: time.Duration(60 * time.Second),
Timeout: 60 * time.Second,
Port: 23,
KeyFile: "id_rsa",
},
Expand All @@ -54,7 +54,7 @@ func TestNativeSSHConfigArgs(t *testing.T) {
},
{
&SSHConfig{
Timeout: time.Duration(60 * time.Second),
Timeout: 60 * time.Second,
KeyFile: "id_rsa",
Port: 23,
Passphrase: "tidb",
Expand All @@ -64,7 +64,7 @@ func TestNativeSSHConfigArgs(t *testing.T) {
},
{
&SSHConfig{
Timeout: time.Duration(60 * time.Second),
Timeout: 60 * time.Second,
KeyFile: "id_rsa",
Port: 23,
Passphrase: "tidb",
Expand All @@ -74,7 +74,7 @@ func TestNativeSSHConfigArgs(t *testing.T) {
},
{
&SSHConfig{
Timeout: time.Duration(60 * time.Second),
Timeout: 60 * time.Second,
Password: "tidb",
},
true,
Expand Down

0 comments on commit e288ed1

Please sign in to comment.