You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(aws-serverless): Score the poll loop by its own clock, not the driver's
`runToOutcome` advances the fake timers by the whole drive window whether the loop is still
running or not, so an elapsed-time assertion taken around the call reports that window back and
holds however early the loop gave up. One test read the driver that way; it now reads the
timestamps its own polls were issued at, and fails at 1,500ms against a give-up window of 960,000
when the condition is broken.
Also derives the two poll counts in the neighbouring test from the constants whose relationship
the comment claims, rather than leaving them as figures that only hold for today's values.
0 commit comments