Skip to content

Commit

Permalink
fix11
Browse files Browse the repository at this point in the history
  • Loading branch information
庄润梓 committed Jun 21, 2024
1 parent 1b02bbe commit 219fb5b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/e2e/greptimedbcluster_baremetal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,13 @@ var _ = Describe("Basic test of greptimedb cluster", func() {
err = getClusterinBaremetal()
Expect(err).NotTo(HaveOccurred(), "failed to get cluster in baremetal")

err = cmd.Process.Kill()
Expect(err).NotTo(HaveOccurred(), "failed to kill create cluster process")
for {
if cmd.Process != nil {
err = cmd.Process.Kill()
Expect(err).NotTo(HaveOccurred(), "failed to exit create cluster process")
break
}
}

err = deleteClusterinBaremetal()
Expect(err).NotTo(HaveOccurred(), "failed to delete cluster in baremetal")
Expand Down

0 comments on commit 219fb5b

Please sign in to comment.