summaryrefslogtreecommitdiff
path: root/test/e2e/search_test.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-09-22 10:08:28 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-09-22 16:55:37 -0400
commita277b7eb0bedd24eecede1c88e58fce2dea89991 (patch)
tree6c2441ebfc39e040488de4c46b7c3a25f978b345 /test/e2e/search_test.go
parenta8917996c43a5149eba0220cebc080148908cd4a (diff)
downloadpodman-a277b7eb0bedd24eecede1c88e58fce2dea89991.tar.gz
podman-a277b7eb0bedd24eecede1c88e58fce2dea89991.tar.bz2
podman-a277b7eb0bedd24eecede1c88e58fce2dea89991.zip
Examine all SkipIfRemote functions
Remove ones that are not needed. Document those that should be there. Document those that should be fixed. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e/search_test.go')
-rw-r--r--test/e2e/search_test.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/e2e/search_test.go b/test/e2e/search_test.go
index c6766fe2a..d85d4ebf0 100644
--- a/test/e2e/search_test.go
+++ b/test/e2e/search_test.go
@@ -237,7 +237,7 @@ registries = ['{{.Host}}:{{.Port}}']`
})
It("podman search attempts HTTP if registry is in registries.insecure and force secure is false", func() {
- SkipIfRemote()
+ SkipIfRemote() // FIXME This should work on podman-remote
if podmanTest.Host.Arch == "ppc64le" {
Skip("No registry image for ppc64le")
}
@@ -278,7 +278,7 @@ registries = ['{{.Host}}:{{.Port}}']`
})
It("podman search doesn't attempt HTTP if force secure is true", func() {
- SkipIfRemote()
+ SkipIfRemote() // FIXME This should work on podman-remote
if podmanTest.Host.Arch == "ppc64le" {
Skip("No registry image for ppc64le")
}
@@ -317,7 +317,7 @@ registries = ['{{.Host}}:{{.Port}}']`
})
It("podman search doesn't attempt HTTP if registry is not listed as insecure", func() {
- SkipIfRemote()
+ SkipIfRemote() // FIXME This should work on podman-remote
if podmanTest.Host.Arch == "ppc64le" {
Skip("No registry image for ppc64le")
}
@@ -356,7 +356,7 @@ registries = ['{{.Host}}:{{.Port}}']`
})
It("podman search doesn't attempt HTTP if one registry is not listed as insecure", func() {
- SkipIfRemote()
+ SkipIfRemote() // FIXME This should work on podman-remote
if podmanTest.Host.Arch == "ppc64le" {
Skip("No registry image for ppc64le")
}
@@ -407,7 +407,6 @@ registries = ['{{.Host}}:{{.Port}}']`
// search should fail with nonexist authfile
It("podman search fail with nonexist --authfile", func() {
- SkipIfRemote()
search := podmanTest.Podman([]string{"search", "--authfile", "/tmp/nonexist", ALPINE})
search.WaitWithDefaultTimeout()
Expect(search.ExitCode()).To(Not(Equal(0)))