Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
庄润梓 committed Jul 1, 2024
1 parent 6d9497c commit a482888
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/e2e/greptimedbcluster_baremetal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,8 @@ import (

var _ = Describe("Basic test of greptimedb cluster in baremetal", Ordered, func() {
BeforeEach(func() {
ports := []int{4000, 4001, 4002, 4003}
for _, port := range ports {
err := checkAndClosePort(port)
Expect(err).NotTo(HaveOccurred(), fmt.Sprintf("failed to close port %d", port))
}
err := checkAndClosePort(4002)
Expect(err).NotTo(HaveOccurred(), fmt.Sprintf("failed to close port %d", 4002))
})
It("Bootstrap cluster in baremteal", func() {
var err error
Expand Down

0 comments on commit a482888

Please sign in to comment.