mirror of
https://github.com/containers/podman.git
synced 2025-05-18 07:36:21 +08:00
e2e: kube test: specify expected exit code
Let's make sure to always specify the expected exit codes, even in case of failure. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
@ -3665,7 +3665,7 @@ o: {{ .Options.o }}`})
|
||||
kube := podmanTest.Podman([]string{"play", "kube", kubeYaml})
|
||||
kube.WaitWithDefaultTimeout()
|
||||
if IsRemote() {
|
||||
Expect(kube).To(ExitWithError())
|
||||
Expect(kube).Should(Exit(125))
|
||||
Expect(kube.ErrorToString()).To(ContainSubstring("importing volumes is not supported for remote requests"))
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user