Skip to content

Commit

Permalink
chore: fixed flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
freak12techno committed Jul 28, 2024
1 parent f1f7d96 commit 74cd3a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ func TestAppLoadConfigOk(t *testing.T) {

for {
request, err := http.Get("http://localhost:9560/healthcheck")
_ = request.Body.Close()
if request.Body != nil {
_ = request.Body.Close()
}
if err == nil {
break
}
Expand Down

0 comments on commit 74cd3a9

Please sign in to comment.