Synchronize deadline regression with source inspection
This commit is contained in:
@@ -340,8 +340,11 @@ or a companion root test file.
|
||||
smoke-checked. Verify `errors.Is(err, context.Canceled)` and retention of
|
||||
completed artifact paths/digests for the latter case.
|
||||
4. Add one focused deadline-expiration variant with synchronized readiness and
|
||||
a bounded wait. Verify `context.DeadlineExceeded`, rather than asserting an
|
||||
exact killed-process error string. Join test goroutines and reap children.
|
||||
a bounded wait. Trigger a test-controlled expiration context after Git signals
|
||||
readiness, so repository/module setup cannot consume the inspection deadline.
|
||||
Verify `context.DeadlineExceeded`, rather than asserting an exact killed-process
|
||||
error string. Join test goroutines and reap children. Check the deadline case
|
||||
with delayed unrelated setup as well as normal and race-enabled execution.
|
||||
|
||||
**Verification:** ordinary source-inspection Git errors retain their causes;
|
||||
`SourceVerified` is not reported true after an interrupted build. Retain
|
||||
|
||||
Reference in New Issue
Block a user