diff options
author | Fabricio Voznika <fvoznika@google.com> | 2020-11-05 19:04:28 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-05 19:06:43 -0800 |
commit | 0e8fdfd3885bda36c0cb9225a107f1ee30c6c65f (patch) | |
tree | aa7d669ea351d93a56e30efb0b9977d9859d5a54 /runsc | |
parent | 62b0e845b7301da7d0c75eb812e9cd75ade05b74 (diff) |
Re-add start/stop container tests
Due to a type doDestroyNotStartedTest was being tested
2x instead of doDestroyStartingTest.
PiperOrigin-RevId: 340969797
Diffstat (limited to 'runsc')
-rw-r--r-- | runsc/container/container_test.go | 4 |
1 files 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) { |