From 7004ff3a9d6252a42c487be2a3166f8fae9800e4 Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Wed, 13 Nov 2019 12:49:41 -0800 Subject: [PATCH] nomad: fix dropped test error --- nomad/job_endpoint_test.go | 1 + 1 file changed, 1 insertion(+) 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()