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