Skip to content

Commit

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

if cmd.Process != nil {
err = cmd.Process.Kill()
Expect(err).NotTo(HaveOccurred(), "failed to kill create cluster process")
} else {
Fail("process is not properly initialized")
}
err = cmd.Process.Kill()
Expect(err).NotTo(HaveOccurred(), "failed to kill create cluster process")

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

0 comments on commit 83f8b0c

Please sign in to comment.