mirror of https://github.com/stretchr/testify.git
Fix TestEventuallyIssue805 which was flaky because of the use of a timer that has exactly the same duration as the Eventually timout. But time is not a synchronization primitive. Now we use channels to ensure that the condition is still running and Eventually times out before checking its return value. The test is also renamed to TestEventuallyTimeout to more clearly show its purpose. |
||
---|---|---|
.. | ||
assertion_compare.go | ||
assertion_compare_test.go | ||
assertion_format.go | ||
assertion_format.go.tmpl | ||
assertion_forward.go | ||
assertion_forward.go.tmpl | ||
assertion_order.go | ||
assertion_order_test.go | ||
assertions.go | ||
assertions_test.go | ||
doc.go | ||
errors.go | ||
forward_assertions.go | ||
forward_assertions_test.go | ||
http_assertions.go | ||
http_assertions_test.go |