diff --git a/nomad/job_endpoint_test.go b/nomad/job_endpoint_test.go index 965834ae7..8f1380d25 100644 --- a/nomad/job_endpoint_test.go +++ b/nomad/job_endpoint_test.go @@ -981,6 +981,7 @@ func TestJobEndpoint_Register_Vault_OverrideConstraint(t *testing.T) { // Fetch the response var resp structs.JobRegisterResponse err := msgpackrpc.CallWithCodec(codec, "Job.Register", req, &resp) + require.NoError(t, err) // Check for the job in the FSM state := s1.fsm.State()