diff options
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") |