summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport/tcp/accept.go
diff options
context:
space:
mode:
authorZeling Feng <zeling@google.com>2020-11-25 10:22:15 -0800
committergVisor bot <gvisor-bot@google.com>2020-11-25 10:24:37 -0800
commit4d59a5a62223b56927b37a00cd5a6dea577fe4c6 (patch)
treece210188d65e3cf94b10703087632933113dcdce /pkg/tcpip/transport/tcp/accept.go
parentd04144fbb7b9fcb055e3aa3c2246f9b498923cc0 (diff)
[3/3] Support isolated containers for parallel packetimpact tests
To create DUTs in parallel, we need to create goroutines to do the setup. The old code base has a lot of t.Fatal(f) usage in those setup functions which is not great for this change: "FailNow must be called from the goroutine running the test or benchmark function, not from other goroutines created during the test" (https://golang.org/pkg/testing/#T.FailNow). - Cleanup all t.Fatal(f) usage in DUT.Prepare() - use goroutines to create DUTs in parallel PiperOrigin-RevId: 344275809
Diffstat (limited to 'pkg/tcpip/transport/tcp/accept.go')
0 files changed, 0 insertions, 0 deletions