Re-add start/stop container tests

Due to a type doDestroyNotStartedTest was being tested
2x instead of doDestroyStartingTest.

PiperOrigin-RevId: 340969797
This commit is contained in:
Fabricio Voznika
2020-11-05 19:06:43 -08:00
committed by gVisor bot
parent 62b0e845b7
commit 0e8fdfd388
+2 -2
View File
@@ -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) {