E2E: CSI test should use expected unique-volume name

This commit is contained in:
Tim Gross 2021-03-22 16:43:56 -04:00
parent 24d7395bfc
commit 0e774d40f5

View file

@ -107,8 +107,7 @@ func (tc *CSIVolumesTest) TestEBSVolumeClaim(f *framework.F) {
"aws-ebs0 node plugins did not become healthy")
// register a volume
// TODO: we don't have a unique ID threaded thru the jobspec yet
volID := "ebs-vol0"
volID := "ebs-vol[0]"
err := volumeRegister(volID, "csi/input/volume-ebs.hcl")
require.NoError(err)
tc.volumeIDs = append(tc.volumeIDs, volID)