Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
Signed-off-by: lhy1024 <admin@liudos.us>
  • Loading branch information
lhy1024 committed Jun 19, 2023
1 parent 12d9e5c commit eaea132
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/pdctl/keyspace/keyspace_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ func TestSetNodeAndPriorityKeyspaceGroup(t *testing.T) {
re.NoError(err)
cmd := pdctlCmd.GetRootCmd()

time.Sleep(2 * time.Second)
tc.WaitLeader()
leaderServer := tc.GetServer(tc.GetLeader())
re.NoError(leaderServer.BootstrapCluster())
Expand All @@ -228,7 +227,6 @@ func TestSetNodeAndPriorityKeyspaceGroup(t *testing.T) {
}
output, err := pdctl.ExecuteCommand(cmd, args...)
re.NoError(err)
fmt.Println(string(output))
return strings.Contains(string(output), "Success")
})

Expand Down

0 comments on commit eaea132

Please sign in to comment.