moby/integration
Paweł Gronowski f9e2eed55d
integration: Don't env cleanup before parallel subtests
Calling function returned from setupTest (which calls testEnv.Clean) in
a defer block inside a test that spawns parallel subtests caused the
cleanup function to be called before any of the subtest did anything.

Change the defer expressions to use `t.Cleanup` instead to call it only
after all subtests have also finished.
This only changes tests which have parallel subtests.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2023-07-13 13:41:00 +02:00
..
build integration: Don't env cleanup before parallel subtests 2023-07-13 13:41:00 +02:00
config integration: use string-literals for easier grep'ing 2023-07-05 12:27:01 +02:00
container integration: Don't env cleanup before parallel subtests 2023-07-13 13:41:00 +02:00
daemon daemon: daemon.prepareMountPoints(): fix panic if mount is not a volume 2023-07-07 15:31:00 +02:00
distribution bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
image integration: disable iptables in parallel tests 2023-07-05 13:49:53 -04:00
internal integration/internal: format code with gofumpt 2023-06-29 00:31:11 +02:00
network integration: Don't env cleanup before parallel subtests 2023-07-13 13:41:00 +02:00
plugin integration: Don't env cleanup before parallel subtests 2023-07-13 13:41:00 +02:00
secret integration: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
service integration/service: format code with gofumpt 2023-06-29 00:31:11 +02:00
session testutil/environment: remove Execution.OSType field 2023-06-26 11:18:09 +02:00
system integration/system: format code with gofumpt 2023-06-29 00:31:11 +02:00
testdata/https Update test certificates 2021-05-18 09:43:21 +02:00
volume integration: Don't env cleanup before parallel subtests 2023-07-13 13:41:00 +02:00
doc.go Add canonical import comment 2018-02-05 16:51:57 -05:00