mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
We need to clean the resources created in some test cases, else in some cases we'll get below error for other tests: > FAIL: docker_experimental_network_test.go:37: DockerNetworkSuite.TestDockerNetworkMacvlanPersistance > docker_experimental_network_test.go:44: > ... > Command: ip link add dm-dummy0 type dummy > ExitCode: 2 > Error: exit status 2 > Stdout: > Stderr: RTNETLINK answers: File exists > ... Logically, each test case should be independent, the failure of previous test case should not have side-effect for the test cases followed. Signed-off-by: Dennis Chen <dennis.chen@arm.com> Upstream-commit: 57d85e7e54f7d074af8c496cba43ee18d3815207 Component: engine