mirror of
https://github.com/containers/podman.git
synced 2025-12-08 06:39:05 +08:00
Update module github.com/onsi/gomega to v1.31.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
7
vendor/github.com/onsi/gomega/internal/async_assertion.go
generated
vendored
7
vendor/github.com/onsi/gomega/internal/async_assertion.go
generated
vendored
@@ -553,7 +553,12 @@ func (assertion *AsyncAssertion) match(matcher types.GomegaMatcher, desiredMatch
|
||||
lock.Unlock()
|
||||
}
|
||||
case <-contextDone:
|
||||
fail("Context was cancelled")
|
||||
err := context.Cause(assertion.ctx)
|
||||
if err != nil && err != context.Canceled {
|
||||
fail(fmt.Sprintf("Context was cancelled (cause: %s)", err))
|
||||
} else {
|
||||
fail("Context was cancelled")
|
||||
}
|
||||
return false
|
||||
case <-timeout:
|
||||
if assertion.asyncType == AsyncAssertionTypeEventually {
|
||||
|
||||
Reference in New Issue
Block a user