Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-malene committed Mar 27, 2024
1 parent 258454f commit 9964a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/tenscan/tenscan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func TestTenscan(t *testing.T) {

func waitServerIsReady(serverAddr string) error {
for now := time.Now(); time.Since(now) < 30*time.Second; time.Sleep(500 * time.Millisecond) {
statusCode, _, err := fasthttp.Get(nil, fmt.Sprintf("%s/v1/health/", serverAddr))
statusCode, _, err := fasthttp.Get(nil, fmt.Sprintf("%s/health/", serverAddr))
if err != nil {
// give it time to boot up
if strings.Contains(err.Error(), "connection") {
Expand Down

0 comments on commit 9964a61

Please sign in to comment.