diff options
author | Florin Coras <fcoras@cisco.com> | 2023-01-17 13:02:51 -0800 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2023-01-18 01:06:19 +0000 |
commit | f4fe0168a6eeef4435835b8bebe52bf03f5a7dbd (patch) | |
tree | ee5cc023b3be3d62438b6e6896d6ce6270acd476 /extras/hs-test/container.go | |
parent | 531ac242a7ebd0e08393d2a0efa7a75703eaa456 (diff) |
hs-test: zero timeout on docker stop
Should drop execution time for all tests by about 80%.
Type: test
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ib6b4ef9fb4e7745a61b40c0b34e53e4046ccdbcc
Diffstat (limited to 'extras/hs-test/container.go')
-rw-r--r-- | extras/hs-test/container.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hs-test/container.go b/extras/hs-test/container.go index 874ce3d1750..971f3b60ef9 100644 --- a/extras/hs-test/container.go +++ b/extras/hs-test/container.go @@ -187,5 +187,5 @@ func (c *Container) execAction(args string) (string, error) { } func (c *Container) stop() error { - return exechelper.Run("docker stop " + c.name) + return exechelper.Run("docker stop " + c.name + " -t 0") } |