Skip to content

Commit

Permalink
temp1
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaji-kharse committed Mar 11, 2024
1 parent 156a84e commit 111fc11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dgraphtest/local_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,10 @@ func (c *LocalCluster) Start() error {
// sometimes health check doesn't work due to unmapped ports. We dont know why this happens,
// but checking it 4 times before failing the test.
for i := 0; i < 4; i++ {
if err := c.init(); err != nil {
c.Cleanup(true)
return err
}
if err = startAll(); err == nil {
return nil
}
Expand Down

0 comments on commit 111fc11

Please sign in to comment.