Skip to content

Commit

Permalink
Merge pull request #2054 from haircommander/storage-test-openshift
Browse files Browse the repository at this point in the history
OCPBUGS-38336: UPSTREAM: 126641: e2e/storage: update block device test to always specify a valid path
  • Loading branch information
openshift-merge-bot[bot] committed Aug 19, 2024
2 parents 8bcc7f4 + 8563e55 commit a092ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/storage/volume_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ var _ = utils.SIGDescribe(framework.WithSerial(), "Volume metrics", func() {
pod := makePod(f, pvcBlock, isEphemeral)
pod.Spec.Containers[0].VolumeDevices = []v1.VolumeDevice{{
Name: pod.Spec.Volumes[0].Name,
DevicePath: "/mnt/" + pvcBlock.Name,
DevicePath: "/mnt/" + pod.Spec.Volumes[0].Name,
}}
pod.Spec.Containers[0].VolumeMounts = nil
pod, err = c.CoreV1().Pods(ns).Create(ctx, pod, metav1.CreateOptions{})
Expand Down

0 comments on commit a092ee7

Please sign in to comment.