diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-09-21 17:42:22 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-09-22 06:19:59 -0400 |
commit | f949cfddaa0ff47247df8424d7ddb793088b49e2 (patch) | |
tree | 5b98eb6c0e90b268a7a0ab571f191deceb371ab6 /test/e2e/libpod_suite_remote_test.go | |
parent | fffcc25d8dfab8c6059c229177286f462d909b8d (diff) | |
download | podman-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_remote_test.go')
-rw-r--r-- | test/e2e/libpod_suite_remote_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/e2e/libpod_suite_remote_test.go b/test/e2e/libpod_suite_remote_test.go index 874789b5e..e74d9bf7c 100644 --- a/test/e2e/libpod_suite_remote_test.go +++ b/test/e2e/libpod_suite_remote_test.go @@ -19,6 +19,10 @@ import ( "github.com/onsi/ginkgo" ) +func IsRemote() bool { + return true +} + func SkipIfRemote() { ginkgo.Skip("This function is not enabled for remote podman") } |