141
return
142
}
144
>
145
>
// Attempt-timeout expiry: attemptCtx is done but awaitCtx is not.
146
>
// Record nothing special - the attempt's recorded errors (if any)
147
>
// already describe what went wrong; otherwise we just retry.
148
>
attemptHitOwnTimeout := attemptCtx.Err() == context.DeadlineExceeded && awaitCtx.Err() == nil
149
>
if attemptHitOwnTimeout {
150
report.recordAttemptTimeout()
151
}
152
153
// Check misuse where the real test failed instead of just the attempt.
155
tb.Fatalf("%s: the test was marked failed directly — %s", funcName, misuseHint)
156
return