Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
nak3 committed Oct 26, 2023
1 parent 00535ec commit 6a984bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/minscale_readiness_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,9 @@ func ensureDesiredScale(clients *test.Clients, t *testing.T, serviceName string,

return false, nil
})
if err.Error() != "context deadline exceeded" {
if !errors.Is(err, context.DeadlineExceeded) {
t.Log("PollError =", err)
}

return latestReady, err.Error() == "context deadline exceeded"
return latestReady, errors.Is(err, context.DeadlineExceeded)
}

0 comments on commit 6a984bb

Please sign in to comment.