Thanks to visit codestin.com
Credit goes to github.com

Skip to content

test bug: coderd/TestPatchCancelTemplateVersion/Success #3083

Closed
@johnstcn

Description

@johnstcn

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.

image

EDIT: see also coderd/TestPatchCancelWorkspaceBuild

Metadata

Metadata

Assignees

Labels

apiArea: HTTP API

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions