From 0e8fdfd3885bda36c0cb9225a107f1ee30c6c65f Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Thu, 5 Nov 2020 19:04:28 -0800 Subject: [PATCH] Re-add start/stop container tests Due to a type doDestroyNotStartedTest was being tested 2x instead of doDestroyStartingTest. PiperOrigin-RevId: 340969797 --- runsc/container/container_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runsc/container/container_test.go b/runsc/container/container_test.go index 07c3aa432..fa99e403a 100644 --- a/runsc/container/container_test.go +++ b/runsc/container/container_test.go @@ -1976,11 +1976,11 @@ func doDestroyNotStartedTest(t *testing.T, vfs2 bool) { // TestDestroyStarting attempts to force a race between start and destroy. func TestDestroyStarting(t *testing.T) { - doDestroyNotStartedTest(t, false) + doDestroyStartingTest(t, false) } func TestDestroyStartedVFS2(t *testing.T) { - doDestroyNotStartedTest(t, true) + doDestroyStartingTest(t, true) } func doDestroyStartingTest(t *testing.T, vfs2 bool) {