From ea905fa4a7f72d6ab16331b893fa857b0cdbeec1 Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Mon, 6 Jul 2020 05:46:54 -0700 Subject: [PATCH] nomad: fix dropped test error (#8356) --- nomad/csi_endpoint_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/nomad/csi_endpoint_test.go b/nomad/csi_endpoint_test.go index b7e36b4ca..37b1df01c 100644 --- a/nomad/csi_endpoint_test.go +++ b/nomad/csi_endpoint_test.go @@ -380,6 +380,7 @@ func TestCSIVolumeEndpoint_ClaimWithController(t *testing.T) { Secrets: structs.CSISecrets{"mysecret": "secretvalue"}, }} err = state.CSIVolumeRegister(1003, vols) + require.NoError(t, err) alloc := mock.BatchAlloc() alloc.NodeID = node.ID