From f949cfddaa0ff47247df8424d7ddb793088b49e2 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Mon, 21 Sep 2020 17:42:22 -0400 Subject: 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 --- test/e2e/libpod_suite_test.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/e2e/libpod_suite_test.go') 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() { } -- cgit v1.2.3-54-g00ecf