Closed
Description
In this unit test we check that the template verison job status is canceled but we do not assert that the error is nil when in fact we timed out cancelling the job. Seems related to the low value (25ms) of ForceCancelInterval
in coderdtest.NewProvisionerDaemon
.
This tripped us up when in #3061, so filing a follow-up issue for this.
EDIT: see also coderd/TestPatchCancelWorkspaceBuild