moby/integration
Sebastiaan van Stijn 7db3243e34
don't cancel container stop when cancelling context
Commit 90de570cfa passed through the request
context to daemon.ContainerStop(). As a result, cancelling the context would
cancel the "graceful" stop of the container, and would proceed with forcefully
killing the container.

This patch partially reverts the changes from 90de570cfa
and breaks the context to prevent cancelling the context from cancelling the stop.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit fc94ed0a86)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-06-20 23:40:57 +02:00
..
build Fix loop-closure bugs in tests 2023-02-15 12:44:52 -05:00
config integration: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
container don't cancel container stop when cancelling context 2023-06-20 23:40:57 +02:00
daemon daemon: set docker0 subpool as the IPAM pool 2023-04-25 15:32:46 +02:00
distribution bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
image fixing consistent aliases for OCI spec imports 2023-06-01 17:22:49 +02:00
internal fixing consistent aliases for OCI spec imports 2023-06-01 17:22:49 +02:00
network Make default options for newly created networks configurable 2023-03-01 07:58:26 +01:00
plugin fixing consistent aliases for OCI spec imports 2023-06-01 17:22:49 +02:00
secret integration: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
service integration: inline filters in tests 2023-04-25 15:15:50 +02:00
session bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
system integration: inline filters in tests 2023-04-25 15:15:50 +02:00
testdata/https Update test certificates 2021-05-18 09:43:21 +02:00
volume integration/volume: fix duplicate import 2023-03-14 16:22:00 +01:00
doc.go Add canonical import comment 2018-02-05 16:51:57 -05:00