summaryrefslogtreecommitdiff
path: root/test/e2e/libpod_suite_test.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-09-21 17:42:22 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-09-22 06:19:59 -0400
commitf949cfddaa0ff47247df8424d7ddb793088b49e2 (patch)
tree5b98eb6c0e90b268a7a0ab571f191deceb371ab6 /test/e2e/libpod_suite_test.go
parentfffcc25d8dfab8c6059c229177286f462d909b8d (diff)
downloadpodman-f949cfddaa0ff47247df8424d7ddb793088b49e2.tar.gz
podman-f949cfddaa0ff47247df8424d7ddb793088b49e2.tar.bz2
podman-f949cfddaa0ff47247df8424d7ddb793088b49e2.zip
Fix up attach tests for podman remote
When we execute podman-remote attach, we were not checking if the container was in the correct state, this is leading to timeouts and we had turned off remote testing. Also added an IfRemote() function so we can turn on more tests when using the "-l" flag for local, but use container name for remote. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e/libpod_suite_test.go')
-rw-r--r--test/e2e/libpod_suite_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/e2e/libpod_suite_test.go b/test/e2e/libpod_suite_test.go
index bfd898108..0f33798b7 100644
--- a/test/e2e/libpod_suite_test.go
+++ b/test/e2e/libpod_suite_test.go
@@ -12,6 +12,10 @@ import (
. "github.com/onsi/ginkgo"
)
+func IsRemote() bool {
+ return false
+}
+
func SkipIfRemote() {
}