moby--moby/integration-cli
Dennis Chen 57d85e7e54 Clean the teardown process of network test
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>
2018-02-23 08:54:52 +00:00
..
checker Add canonical import comment 2018-02-05 16:51:57 -05:00
cli Add canonical import comment 2018-02-05 16:51:57 -05:00
daemon Remove duplicate calls for getting an APIClient 2018-02-20 17:27:24 -05:00
environment Add canonical import comment 2018-02-05 16:51:57 -05:00
fixtures Unify the frozen images to the multi-arch version 2018-02-14 03:59:04 +00:00
registry Add canonical import comment 2018-02-05 16:51:57 -05:00
request Remove duplicate calls for getting an APIClient 2018-02-20 17:27:24 -05:00
requirement Add canonical import comment 2018-02-05 16:51:57 -05:00
benchmark_test.go
check_test.go Remove deprecated environment.ExperimentalDaemon() 2018-01-15 15:30:05 +01:00
daemon_swarm_hack_test.go
docker_api_attach_test.go Remove duplicate calls for getting an APIClient 2018-02-20 17:27:24 -05:00
docker_api_build_test.go Remove duplicate calls for getting an APIClient 2018-02-20 17:27:24 -05:00
docker_api_containers_test.go Migrate some calls to new client function 2018-02-08 16:21:45 +01:00
docker_api_containers_windows_test.go Remove duplicate calls for getting an APIClient 2018-02-20 17:27:24 -05:00
docker_api_create_test.go
docker_api_events_test.go
docker_api_exec_resize_test.go Remove duplicate calls for getting an APIClient 2018-02-20 17:27:24 -05:00
docker_api_exec_test.go libcontainerd: fix leaking container/exec state 2017-11-13 15:48:21 -08:00
docker_api_images_test.go Remove duplicate calls for getting an APIClient 2018-02-20 17:27:24 -05:00
docker_api_inspect_test.go Remove deprecated environment.DaemonPlatform() 2018-01-15 15:32:06 +01:00
docker_api_ipcmode_test.go Remove duplicate calls for getting an APIClient 2018-02-20 17:27:24 -05:00
docker_api_logs_test.go Prevent potential panic in TestLogsAPIUntil 2017-12-14 23:20:44 -08:00
docker_api_network_test.go Golint: remove redundant ifs 2018-01-15 00:42:25 +01:00
docker_api_stats_test.go Remove deprecated environment.DaemonPlatform() 2018-01-15 15:32:06 +01:00
docker_api_swarm_node_test.go
docker_api_swarm_service_test.go Explicitly add --detach to service CLI calls 2017-09-27 16:17:55 -07:00
docker_api_swarm_test.go Remove duplicate calls for getting an APIClient 2018-02-20 17:27:24 -05:00
docker_api_test.go Remove deprecated environment.DaemonPlatform() 2018-01-15 15:32:06 +01:00
docker_api_volumes_test.go
docker_cli_attach_test.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
docker_cli_attach_unix_test.go Fix TestAttachAfterDetach to work with latest client 2018-02-20 18:34:25 -05:00
docker_cli_build_test.go Unify the frozen images to the multi-arch version 2018-02-14 03:59:04 +00:00
docker_cli_build_unix_test.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
docker_cli_by_digest_test.go Remove deprecated environment.DockerBasePath() 2018-01-15 15:29:26 +01:00
docker_cli_commit_test.go Remove deprecated environment.DaemonPlatform() 2018-01-15 15:32:06 +01:00
docker_cli_config_create_test.go
docker_cli_config_inspect_test.go
docker_cli_cp_from_container_test.go Remove a test that was moved to docker/cli 2017-10-30 18:39:11 -04:00
docker_cli_cp_test.go
docker_cli_cp_to_container_test.go Bump Go to 1.9.2 2017-11-21 20:57:02 +01:00
docker_cli_cp_to_container_unix_test.go Remove deprecated environment.DockerBasePath() 2018-01-15 15:29:26 +01:00
docker_cli_cp_utils_test.go
docker_cli_create_test.go Remove deprecated environment.DaemonPlatform() 2018-01-15 15:32:06 +01:00
docker_cli_daemon_plugins_test.go Cleanup volume plugin test with bad assumptions 2018-02-20 16:57:20 -05:00
docker_cli_daemon_test.go Move log validator logic after plugins are loaded 2018-02-15 11:53:11 -05:00
docker_cli_events_test.go Refactor commit 2018-02-07 15:09:06 -05:00
docker_cli_events_unix_test.go
docker_cli_exec_test.go Fix tests creating zombie processes 2017-10-20 07:11:38 -07:00
docker_cli_exec_unix_test.go
docker_cli_export_import_test.go
docker_cli_external_graphdriver_unix_test.go Remove deprecated environment.ExperimentalDaemon() 2018-01-15 15:30:05 +01:00
docker_cli_external_volume_driver_unix_test.go Remove deprecated environment.ExperimentalDaemon() 2018-01-15 15:30:05 +01:00
docker_cli_health_test.go Fix GitHub spelling 2017-10-07 00:10:24 +08:00
docker_cli_history_test.go
docker_cli_images_test.go
docker_cli_import_test.go
docker_cli_info_test.go Remove deprecated environment.DaemonPlatform() 2018-01-15 15:32:06 +01:00
docker_cli_info_unix_test.go
docker_cli_inspect_test.go Remove deprecated environment.DaemonPlatform() 2018-01-15 15:32:06 +01:00
docker_cli_links_test.go
docker_cli_login_test.go
docker_cli_logout_test.go Disallow using legacy (V1) registries 2017-12-09 02:24:43 -08:00
docker_cli_logs_bench_test.go
docker_cli_logs_test.go Fix tests creating zombie processes 2017-10-20 07:11:38 -07:00
docker_cli_netmode_test.go Restore error type in FindNetwork 2017-11-29 11:22:57 -08:00
docker_cli_network_unix_test.go Remove deprecated environment.ExperimentalDaemon() 2018-01-15 15:30:05 +01:00
docker_cli_plugins_logdriver_test.go
docker_cli_plugins_test.go Remove duplicate calls for getting an APIClient 2018-02-20 17:27:24 -05:00
docker_cli_port_test.go
docker_cli_proxy_test.go
docker_cli_prune_unix_test.go Explicitly add --detach to service CLI calls 2017-09-27 16:17:55 -07:00
docker_cli_ps_test.go Clean some cli-only integration tests 2018-02-19 11:19:19 +01:00
docker_cli_pull_local_test.go
docker_cli_pull_test.go Disallow using legacy (V1) registries 2017-12-09 02:24:43 -08:00
docker_cli_pull_trusted_test.go
docker_cli_push_test.go
docker_cli_registry_user_agent_test.go
docker_cli_restart_test.go Remove deprecated environment.DaemonPlatform() 2018-01-15 15:32:06 +01:00
docker_cli_rm_test.go
docker_cli_rmi_test.go Remove deprecated environment.DaemonPlatform() 2018-01-15 15:32:06 +01:00
docker_cli_run_test.go Unify the frozen images to the multi-arch version 2018-02-14 03:59:04 +00:00
docker_cli_run_unix_test.go Fix tests creating zombie processes 2017-10-20 07:11:38 -07:00
docker_cli_save_load_test.go
docker_cli_save_load_unix_test.go
docker_cli_search_test.go
docker_cli_secret_create_test.go
docker_cli_secret_inspect_test.go Migrate TestSecretInspect from integration-cli to api tests 2018-02-02 22:23:12 +00:00
docker_cli_service_create_test.go Fix issue of ExitCode and PID not show up in Task.Status.ContainerStatus 2018-01-31 15:35:19 +00:00
docker_cli_service_health_test.go
docker_cli_service_logs_test.go Fix tests creating zombie processes 2017-10-20 07:11:38 -07:00
docker_cli_service_scale_test.go remove --detach on scale 2017-09-27 17:47:51 -07:00
docker_cli_service_update_test.go Explicitly add --detach to service CLI calls 2017-09-27 16:17:55 -07:00
docker_cli_sni_test.go
docker_cli_start_test.go
docker_cli_stats_test.go Fix tests creating zombie processes 2017-10-20 07:11:38 -07:00
docker_cli_swarm_test.go Update integration test to account for SwarmKit change 2018-02-12 23:25:51 +01:00
docker_cli_swarm_unix_test.go Added support for swarm service isolation mode 2017-10-30 16:16:18 +01:00
docker_cli_tag_test.go Remove support for referencing images by 'repository:shortid' 2017-12-14 21:10:29 -08:00
docker_cli_top_test.go Remove deprecated environment.DaemonPlatform() 2018-01-15 15:32:06 +01:00
docker_cli_update_unix_test.go [integration-cli] fix s390x flaky test 2017-10-03 12:13:29 -04:00
docker_cli_userns_test.go
docker_cli_v2_only_test.go Disallow using legacy (V1) registries 2017-12-09 02:24:43 -08:00
docker_cli_volume_test.go
docker_cli_wait_test.go
docker_deprecated_api_v124_test.go Remove deprecated environment.DaemonPlatform() 2018-01-15 15:32:06 +01:00
docker_deprecated_api_v124_unix_test.go
docker_experimental_network_test.go Clean the teardown process of network test 2018-02-23 08:54:52 +00:00
docker_hub_pull_suite_test.go Remove deprecated environment.ExperimentalDaemon() 2018-01-15 15:30:05 +01:00
docker_utils_test.go Migrate some calls to new client function 2018-02-08 16:21:45 +01:00
events_utils_test.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
fixtures_linux_daemon_test.go Remove deprecated environment.DaemonPlatform() 2018-01-15 15:32:06 +01:00
requirements_test.go
requirements_unix_test.go
test_vars_exec_test.go
test_vars_noexec_test.go
test_vars_noseccomp_test.go
test_vars_seccomp_test.go
test_vars_test.go Remove deprecated environment.DaemonPlatform() 2018-01-15 15:32:06 +01:00
test_vars_unix_test.go
test_vars_windows_test.go
trust_server_test.go Remove duplicate calls for getting an APIClient 2018-02-20 17:27:24 -05:00
utils_test.go Remove deprecated environment.DaemonPlatform() 2018-01-15 15:32:06 +01:00