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 87ea15b commit 0615d55
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/e2e/greptimedbcluster_baremetal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ var _ = Describe("Basic test of greptimedb cluster in baremetal", func() {
Fail("process is not properly initialized")
}

time.Sleep(2 * time.Second)

err = cmd.Wait()
if err != nil {
GinkgoWriter.Printf("Process with PID %d terminated with error: %v\n", cmd.Process.Pid, err)
} else {
GinkgoWriter.Printf("Process with PID %d terminated successfully\n", cmd.Process.Pid)
}

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

0 comments on commit 0615d55

Please sign in to comment.