mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
Improve output of fsType check for failure case in volumes test
This commit is contained in:
parent
b767dbdeb5
commit
3c3f85295c
1 changed files with 1 additions and 1 deletions
|
|
@ -479,7 +479,7 @@ func TestVolumeClient(client clientset.Interface, config VolumeTestConfig, fsGro
|
|||
|
||||
if fsType != "" {
|
||||
By("Checking fsType is correct.")
|
||||
_, err = LookForStringInPodExec(config.Namespace, clientPod.Name, []string{"grep", fmt.Sprintf(" /opt/0 %s", fsType), "/proc/mounts"}, fsType, time.Minute)
|
||||
_, err = LookForStringInPodExec(config.Namespace, clientPod.Name, []string{"grep", " /opt/0 ", "/proc/mounts"}, fsType, time.Minute)
|
||||
Expect(err).NotTo(HaveOccurred(), "failed: getting the right fsType %s", fsType)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue