test: Fix test flake panic in provisionerd (#383)

Closes #382.
This commit is contained in:
Kyle Carberry
2022-02-28 15:10:34 -06:00
committed by GitHub
parent 8acd58a095
commit fd5eceb0b8

View File

@ -391,6 +391,7 @@ func TestProvisionerd(t *testing.T) {
},
}, nil
},
updateJob: noopUpdateJob,
failJob: func(ctx context.Context, job *proto.FailedJob) (*proto.Empty, error) {
didFail.Store(true)
return &proto.Empty{}, nil