mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-24 08:37:55 +00: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:
parent
574e00d324
commit
ddcefc9b9f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue