1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/integration/container
Cory Snider 418c141e64
[20.10 backport] daemon: kill exec process on ctx cancel
Terminating the exec process when the context is canceled has been
broken since Docker v17.11 so nobody has been able to depend upon that
behaviour in five years of releases. We are thus free from backwards-
compatibility constraints.

conflicts:

- minor conflict in daemon/exec.go, as 2ec2b65e45
  is not in the 20.10 branch, so had to cast the signal to an int.
- minor conflict in daemon/health.go, where a comment was updated, which was
  added in bdc6473d2d, which is not in the
  20.10 branch
- remove the skip.If() from TestHealthCheckProcessKilled, as the 20.10 branch
  is not testing on Windows with containerd (and the RuntimeIsWindowsContainerd
  does not exist), but kept a "FIXME" comment.

Co-authored-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Co-authored-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Cory Snider <csnider@mirantis.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 4b84a33217)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-08-23 22:30:01 +02:00
..
checkpoint_test.go unused: ignore false positives 2022-08-17 18:11:20 +02:00
container_test.go
copy_test.go Windows: Enable more integration tests 2020-09-20 22:09:27 +03:00
create_test.go Don't set default platform on container create 2020-10-20 20:17:23 +00:00
daemon_linux_test.go Make test work with rootless mode 2021-02-03 13:54:09 +01:00
daemon_test.go
diff_test.go
exec_test.go Windows: Enable more integration tests 2020-09-20 22:09:27 +03:00
export_test.go
health_test.go [20.10 backport] daemon: kill exec process on ctx cancel 2022-08-23 22:30:01 +02:00
inspect_test.go
ipcmode_linux_test.go
kill_test.go TestInspectOomKilledTrue: skip on cgroup v2 2021-02-16 09:22:27 +01:00
links_linux_test.go
logs_test.go
main_test.go
mounts_linux_test.go Rewrite VolumesMountedAsShared/Slave as Integration tests 2020-11-08 23:15:15 +11:00
nat_test.go integration: update getExternalAddress to prefer IPv4 2021-03-24 22:04:08 +01:00
pause_test.go
ps_test.go
remove_test.go
rename_test.go
resize_test.go Windows: Enable more integration tests 2020-09-20 22:09:27 +03:00
restart_test.go
run_cgroupns_linux_test.go TestCgroupNamespacesRunOlderClient: support cgroup v2 2021-02-02 14:34:08 +09:00
run_linux_test.go daemon.WithCommonOptions() fix detection of user-namespaces 2021-12-15 18:20:07 +09:00
stats_test.go
stop_linux_test.go
stop_test.go
stop_windows_test.go
update_linux_test.go
update_test.go
wait_test.go