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 83f8b0c commit be56c09
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/e2e/greptimedbcluster_baremetal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ var _ = Describe("Basic test of greptimedb cluster in baremetal", func() {
var err error
cmd := newCreateClusterinBaremetalCommand()

go func() {
err = createClusterinBaremetal(cmd)
Expect(err).NotTo(HaveOccurred(), "failed to create cluster in baremetal")
}()
err = cmd.Start()
Expect(err).NotTo(HaveOccurred(), "failed to create cluster in baremetal")

for {
if conn, err := net.DialTimeout("tcp", "localhost:4000", 2*time.Second); err == nil {
Expand Down

0 comments on commit be56c09

Please sign in to comment.