mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
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:
committed by
gVisor bot
parent
62b0e845b7
commit
0e8fdfd388
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user