Files
Stephan Behnke 767162845e Adaptive test timeouts via Await (#10417)
## What changed?

Adds `testcontext.EnsureRemaining` and has `await` use it so long await
calls can request additional test-scoped context time while still
respecting the test context cap.

## Why?

Await calls can need more time than the default test context has left
(esp after the environment setup). Extending the test timeout in this
way allows for (1) stuck tests to fail earlier than the default test
timeout and (2) legitimately longer running tests to pass without
manually tweaking the test timeout.

---------

Co-authored-by: Sean Kane <sean.kane@temporal.io>
2026-08-20 13:35:41 -07:00
..