Files
tasks/client
137b1ed5f3 Bump go.opentelemetry.io/otel/sdk from 1.34.0 to 1.40.0 and fix tests (#9442)
## What changed?
Bumps
[go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go)
from 1.34.0 to 1.40.0.
Fix misuse of testify assertions inside `EventuallyWithT` callbacks

## Why?
testify v1.11.0 introduced a "check early" optimization where
`EventuallyWithT` runs the condition immediately before the first tick.
This exposed pre-existing bugs where suite-level assertions
(`s.NoError`, `s.True`, etc.) were used inside `EventuallyWithT`
callbacks instead of `CollectT`-based assertions. Suite assertions call
`FailNow` on the real test T, killing the test immediately instead of
allowing `EventuallyWithT` to retry. The cache test relied on the tick
delay to
  accumulate hold time before measuring.

## How did you test it?
 - [x] built
 - [x] covered by existing tests
 - [x] added new unit test(s) -- no, fixed existing ones

## Potential risks
No - test change

---------

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: Hanzo Dev <[email protected]>
2026-03-10 13:36:47 -07:00
..
2026-02-26 01:53:01 +00:00
2026-02-18 09:12:19 -08:00