From 41023a47dba65e74079b80375b112ac5fd8261b1 Mon Sep 17 00:00:00 2001 From: Antonia Avramova Date: Fri, 17 May 2024 11:42:30 +0300 Subject: [PATCH] Set correct timeout flag in integration tests (#239) [#238] Set correct timeout flag in integration tests Signed-off-by: Antonia Avramova --- integration/testdata/remove-help.golden | 1 + integration/testdata/stop-help.golden | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/integration/testdata/remove-help.golden b/integration/testdata/remove-help.golden index e28dc33..5a9a09b 100644 --- a/integration/testdata/remove-help.golden +++ b/integration/testdata/remove-help.golden @@ -13,6 +13,7 @@ Flags: -f, --force Force stopping before removing a container -h, --help help for remove -n, --name string Remove a container with a specific name. + -t, --time string Sets the timeout period to gracefully stop the container as duration string, e.g. 15s or 1m15s. When timeout expires the container process would be forcibly killed. If not specified the daemon default container stop timeout will be used. Global Flags: --debug Switch commands log level to DEBUG mode diff --git a/integration/testdata/stop-help.golden b/integration/testdata/stop-help.golden index 48f0ec9..d659115 100644 --- a/integration/testdata/stop-help.golden +++ b/integration/testdata/stop-help.golden @@ -13,7 +13,7 @@ Flags: -h, --help help for stop -n, --name string Stop a container with a specific name. -s, --signal string Stop a container using a specific signal. Signals could be specified by using their names or numbers, e.g. SIGINT or 2. (default "SIGTERM") - -t, --time int Sets the timeout period in seconds to gracefully stop the container. When timeout expires the container process would be forcibly killed. (default -9223372036854775808) + -t, --time string Sets the timeout period to gracefully stop the container as duration string, e.g. 15s or 1m15s. When timeout expires the container process would be forcibly killed. If not specified the daemon default container stop timeout will be used. Global Flags: --debug Switch commands log level to DEBUG mode