diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2018-10-24 23:06:51 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-10-24 23:07:35 -0700 |
commit | a5fe397cf806cbc488757dbd73a3d83eb5da11cd (patch) | |
tree | 595a1670feede8a064ba3824facb32fe5e9c37de /runsc/test/testutil/docker.go | |
parent | e7191f058f550cc3a203a854a1d81f7746c96e53 (diff) |
Re-enable TestPythonHello now that ptrace seccomp issue is resolved.
PiperOrigin-RevId: 218636184
Change-Id: I44deac3f32276d06955c5fb1e28c5970bb08f5fd
Diffstat (limited to 'runsc/test/testutil/docker.go')
-rw-r--r-- | runsc/test/testutil/docker.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/runsc/test/testutil/docker.go b/runsc/test/testutil/docker.go index 3f74e0770..9a76397be 100644 --- a/runsc/test/testutil/docker.go +++ b/runsc/test/testutil/docker.go @@ -49,15 +49,6 @@ func IsPauseResumeSupported() bool { return !strings.Contains(getRuntime(), "hostnet") } -// IsPtracePlatform returns true if the runtime is using ptrace platform. -// -// TODO: Tests should not depend on the platform, but -// TestPythonHello sometimes hangs on ptrace. Once that is debugged, this -// method should go away. -func IsPtracePlatform() bool { - return !strings.Contains(getRuntime(), "kvm") -} - // EnsureSupportedDockerVersion checks if correct docker is installed. func EnsureSupportedDockerVersion() { cmd := exec.Command("docker", "version") |