1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/integration-cli
Brian Goff db3576f8a0 Ensure unmount before removing local volume.
When there is an error unmounting a local volume, it is still possible
to call `Remove()` on the volume causing removal of the mounted
resources which is generally not desirable.

This ensures that resources are unmounted before attempting removal.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-04-27 16:41:03 -04:00
..
checker Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
cli [integration] Move fakegit to its own package in cli 2017-04-19 15:52:03 +02:00
daemon Introduce cli.Wait* fuctions 2017-04-14 19:27:33 +02:00
environment Introduce a cli package for test-integration 2017-03-23 18:35:22 +01:00
fixtures Fix flaky TestStackRemove test. 2017-03-24 15:31:08 -04:00
registry Revert "Planned 1.13 deprecation: email from login" 2017-03-15 10:43:18 -07:00
request Update request.* signature to remove the host 2017-03-06 16:41:33 +01:00
requirement Display only the name of the requirement… 2016-12-26 21:29:17 +01:00
benchmark_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
check_test.go Move FakeContext to integration-cli/cli/build/context package… 2017-04-11 18:25:49 +02:00
daemon_swarm_hack_test.go Small cleanups on integration cli 2017-01-12 16:57:59 +01:00
docker_api_attach_test.go Add a new request package in integration-cli 2017-01-03 11:49:30 +01:00
docker_api_auth_test.go Add a new request package in integration-cli 2017-01-03 11:49:30 +01:00
docker_api_build_test.go Refactor remote context parsing 2017-04-25 14:35:31 -07:00
docker_api_containers_test.go [integration] make runSleepingContainer use cli package 2017-04-16 23:39:30 +02:00
docker_api_create_test.go validate healthcheck params in daemon side 2017-01-29 13:35:32 +08:00
docker_api_events_test.go [integration] make runSleepingContainer use cli package 2017-04-16 23:39:30 +02:00
docker_api_exec_resize_test.go Update request.* signature to remove the host 2017-03-06 16:41:33 +01:00
docker_api_exec_test.go Update request.* signature to remove the host 2017-03-06 16:41:33 +01:00
docker_api_images_test.go Avoid using "example.com" in integration test 2017-04-14 16:01:56 -07:00
docker_api_info_test.go Add a new request package in integration-cli 2017-01-03 11:49:30 +01:00
docker_api_inspect_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
docker_api_inspect_unix_test.go Add a new request package in integration-cli 2017-01-03 11:49:30 +01:00
docker_api_logs_test.go Update request.* signature to remove the host 2017-03-06 16:41:33 +01:00
docker_api_network_test.go Update request.* signature to remove the host 2017-03-06 16:41:33 +01:00
docker_api_resize_test.go [integration] make runSleepingContainer use cli package 2017-04-16 23:39:30 +02:00
docker_api_stats_test.go [integration] make runSleepingContainer use cli package 2017-04-16 23:39:30 +02:00
docker_api_stats_unix_test.go Update request.* signature to remove the host 2017-03-06 16:41:33 +01:00
docker_api_swarm_node_test.go split docker_api_swarm_test.go into multiple files 2017-02-11 00:18:01 +08:00
docker_api_swarm_secret_test.go fixed:go vetting warning unkeyed fields 2017-03-20 16:30:01 +08:00
docker_api_swarm_service_test.go Change "service inspect" to show defaults in place of empty fields 2017-04-10 13:41:16 -07:00
docker_api_swarm_test.go Fix incorrect assumption in TestAPISwarmRaftQuorum 2017-04-25 12:10:12 -07:00
docker_api_test.go Fix TestAPIDockerAPIVersion on windows 2017-03-29 10:28:51 +02:00
docker_api_update_unix_test.go Add a new request package in integration-cli 2017-01-03 11:49:30 +01:00
docker_api_version_test.go Add a new request package in integration-cli 2017-01-03 11:49:30 +01:00
docker_api_volumes_test.go Add a new request package in integration-cli 2017-01-03 11:49:30 +01:00
docker_cli_attach_test.go Introduce cli.Wait* fuctions 2017-04-14 19:27:33 +02:00
docker_cli_attach_unix_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_authz_plugin_v2_test.go When authz plugin is disabled, remove from authz middleware chain. 2017-03-22 12:07:39 -07:00
docker_cli_authz_unix_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
docker_cli_build_test.go Change builder.dispatchers to use a dispatchRequest object 2017-04-24 14:21:19 -04:00
docker_cli_build_unix_test.go Move FakeContext to integration-cli/cli/build/context package… 2017-04-11 18:25:49 +02:00
docker_cli_by_digest_test.go Clean some function in docker_utils_test.go 2017-04-12 11:22:32 +02:00
docker_cli_commit_test.go Clean some function in docker_utils_test.go 2017-04-12 11:22:32 +02:00
docker_cli_config_test.go Update trustedCmd to be compatible with testutil/cmd 2017-01-09 11:07:05 +01:00
docker_cli_cp_from_container_test.go daemon/archive.go: Fix copy routines to preserve UID. 2017-04-12 10:33:19 +00:00
docker_cli_cp_test.go daemon/archive.go: Fix copy routines to preserve UID. 2017-04-12 10:33:19 +00:00
docker_cli_cp_to_container_test.go daemon/archive.go: Fix copy routines to preserve UID. 2017-04-12 10:33:19 +00:00
docker_cli_cp_to_container_unix_test.go daemon/archive.go: Fix copy routines to preserve UID. 2017-04-12 10:33:19 +00:00
docker_cli_cp_utils_test.go [integration] make runSleepingContainer use cli package 2017-04-16 23:39:30 +02:00
docker_cli_create_test.go Use cli for trusted relate command 2017-04-19 14:04:39 +02:00
docker_cli_create_unix_test.go validate mount path for tmpfs 2017-01-20 06:01:48 +00:00
docker_cli_daemon_plugins_test.go Add missing test for daemon kill with plugins running. 2017-03-22 14:38:55 -07:00
docker_cli_daemon_test.go Ensure unmount before removing local volume. 2017-04-27 16:41:03 -04:00
docker_cli_diff_test.go Introduce cli.Wait* fuctions 2017-04-14 19:27:33 +02:00
docker_cli_events_test.go [integration] make runSleepingContainer use cli package 2017-04-16 23:39:30 +02:00
docker_cli_events_unix_test.go Introduce a cli package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_exec_test.go [integration] make runSleepingContainer use cli package 2017-04-16 23:39:30 +02:00
docker_cli_exec_unix_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_experimental_test.go Small cleanups on integration cli 2017-01-12 16:57:59 +01:00
docker_cli_export_import_test.go Update trustedCmd to be compatible with testutil/cmd 2017-01-09 11:07:05 +01:00
docker_cli_external_graphdriver_unix_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
docker_cli_external_volume_driver_unix_test.go don't obfuscate error during create 2017-04-03 21:04:40 -04:00
docker_cli_health_test.go Introduce a cli package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_help_test.go [test-integration] Migrate some more tests to cli package 2017-03-28 15:17:31 +02:00
docker_cli_history_test.go Introduce a cli package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_images_test.go Introduce a cli package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_import_test.go [test-integration] Migrate some more tests to cli package 2017-03-28 15:17:31 +02:00
docker_cli_info_test.go [integration] make runSleepingContainer use cli package 2017-04-16 23:39:30 +02:00
docker_cli_info_unix_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_inspect_test.go [integration] make runSleepingContainer use cli package 2017-04-16 23:39:30 +02:00
docker_cli_kill_test.go [integration] make runSleepingContainer use cli package 2017-04-16 23:39:30 +02:00
docker_cli_links_test.go Remove most of the runCommandWithOutput from integration tests 2017-01-30 10:54:06 +01:00
docker_cli_links_unix_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_login_test.go Revert "Planned 1.13 deprecation: email from login" 2017-03-15 10:43:18 -07:00
docker_cli_logout_test.go Merge pull request #29799 from vdemeester/integration-registry-package 2017-01-02 15:37:09 +01:00
docker_cli_logs_bench_test.go
docker_cli_logs_test.go [test-integration] Migrate some more tests to cli package 2017-03-28 15:17:31 +02:00
docker_cli_nat_test.go Introduce cli.Wait* fuctions 2017-04-14 19:27:33 +02:00
docker_cli_netmode_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_network_unix_test.go [integration] make runSleepingContainer use cli package 2017-04-16 23:39:30 +02:00
docker_cli_oom_killed_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_pause_test.go Clean some function in docker_utils_test.go 2017-04-12 11:22:32 +02:00
docker_cli_plugins_logdriver_test.go Add logdrivers to /info 2017-04-11 18:07:15 -04:00
docker_cli_plugins_test.go Use cli for trusted relate command 2017-04-19 14:04:39 +02:00
docker_cli_port_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_proxy_test.go Update trustedCmd to be compatible with testutil/cmd 2017-01-09 11:07:05 +01:00
docker_cli_prune_unix_test.go Introduce cli.Wait* fuctions 2017-04-14 19:27:33 +02:00
docker_cli_ps_test.go [integration] make runSleepingContainer use cli package 2017-04-16 23:39:30 +02:00
docker_cli_pull_local_test.go Introduce a cli package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_pull_test.go Block Windows images on Linux 2017-02-02 11:07:30 -08:00
docker_cli_pull_trusted_test.go Use cli for trusted relate command 2017-04-19 14:04:39 +02:00
docker_cli_push_test.go Use cli for trusted relate command 2017-04-19 14:04:39 +02:00
docker_cli_registry_user_agent_test.go Revert "Planned 1.13 deprecation: email from login" 2017-03-15 10:43:18 -07:00
docker_cli_rename_test.go [integration] make runSleepingContainer use cli package 2017-04-16 23:39:30 +02:00
docker_cli_restart_test.go [integration] make runSleepingContainer use cli package 2017-04-16 23:39:30 +02:00
docker_cli_rm_test.go create unit tests for rm (running, paused, restarting) errormessages 2017-04-03 21:58:05 +02:00
docker_cli_rmi_test.go [integration] make runSleepingContainer use cli package 2017-04-16 23:39:30 +02:00
docker_cli_run_test.go Use cli for trusted relate command 2017-04-19 14:04:39 +02:00
docker_cli_run_unix_test.go [test-integration] Migrate some more tests to cli package 2017-03-28 15:17:31 +02:00
docker_cli_save_load_test.go Introduce a cli package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_save_load_unix_test.go Introduce a cli package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_search_test.go fix some ineffectual assignments 2017-01-24 11:16:19 +01:00
docker_cli_secret_create_test.go fixed:go vetting warning unkeyed fields 2017-03-20 16:30:01 +08:00
docker_cli_secret_inspect_test.go fixed:go vetting warning unkeyed fields 2017-03-20 16:30:01 +08:00
docker_cli_secret_ls_test.go make secret ls support filters in CLI 2017-03-27 10:16:45 +08:00
docker_cli_service_create_test.go Synchronous service create and service update 2017-04-03 09:46:01 -07:00
docker_cli_service_health_test.go Synchronous service create and service update 2017-04-03 09:46:01 -07:00
docker_cli_service_logs_test.go Remove experimental from service logs 2017-04-10 13:40:45 -07:00
docker_cli_service_scale_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_service_update_test.go fixed:go vetting warning unkeyed fields 2017-03-20 16:30:01 +08:00
docker_cli_sni_test.go
docker_cli_stack_test.go Add format to docker stack ls 2017-04-25 16:45:30 +03:00
docker_cli_start_test.go Introduce cli.Wait* fuctions 2017-04-14 19:27:33 +02:00
docker_cli_stats_test.go [integration] make runSleepingContainer use cli package 2017-04-16 23:39:30 +02:00
docker_cli_stop_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_swarm_test.go Inroduce SWARM --data-path-addr flag 2017-04-26 15:33:15 -07:00
docker_cli_swarm_unix_test.go skip plugin test on non x86 architectures 2017-03-07 09:28:10 -05:00
docker_cli_tag_test.go Introduce a cli package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_top_test.go [integration] make runSleepingContainer use cli package 2017-04-16 23:39:30 +02:00
docker_cli_update_test.go [integration] make runSleepingContainer use cli package 2017-04-16 23:39:30 +02:00
docker_cli_update_unix_test.go Add --cpus support for docker update 2017-04-06 15:40:12 -07:00
docker_cli_userns_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_v2_only_test.go Fix leaked connections in integration tests 2017-01-11 14:48:48 -08:00
docker_cli_version_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
docker_cli_volume_test.go Introduce a cli package for test-integration 2017-03-23 18:35:22 +01:00
docker_cli_wait_test.go Update trustedCmd to be compatible with testutil/cmd 2017-01-09 11:07:05 +01:00
docker_deprecated_api_v124_test.go Update request.* signature to remove the host 2017-03-06 16:41:33 +01:00
docker_deprecated_api_v124_unix_test.go Add a new request package in integration-cli 2017-01-03 11:49:30 +01:00
docker_experimental_network_test.go [test-integration] Migrate some more tests to cli package 2017-03-28 15:17:31 +02:00
docker_hub_pull_suite_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
docker_utils_test.go [integration] Move fakegit to its own package in cli 2017-04-19 15:52:03 +02:00
events_utils_test.go Remove pkg/integration and move it to testutil or integration-cli 2016-12-30 18:26:34 +01:00
fixtures_linux_daemon_test.go Move TearDownTest cleaning to environment package 2017-03-01 21:04:11 +01:00
requirements_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
requirements_unix_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
test_vars_exec_test.go Introduce a environment package in integration-cli 2016-12-29 11:00:50 +01:00
test_vars_noexec_test.go Introduce a environment package in integration-cli 2016-12-29 11:00:50 +01:00
test_vars_noseccomp_test.go Introduce a environment package in integration-cli 2016-12-29 11:00:50 +01:00
test_vars_seccomp_test.go Introduce a environment package in integration-cli 2016-12-29 11:00:50 +01:00
test_vars_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00
test_vars_unix_test.go Introduce a environment package in integration-cli 2016-12-29 11:00:50 +01:00
test_vars_windows_test.go Introduce a environment package in integration-cli 2016-12-29 11:00:50 +01:00
trust_server_test.go Use cli for trusted relate command 2017-04-19 14:04:39 +02:00
utils_test.go Use testEnv methods and remove most of the global variables 2017-01-17 12:39:08 +01:00