summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2023-01-17 13:02:51 -0800
committerDave Wallace <dwallacelf@gmail.com>2023-01-18 01:06:19 +0000
commitf4fe0168a6eeef4435835b8bebe52bf03f5a7dbd (patch)
treeee5cc023b3be3d62438b6e6896d6ce6270acd476 /extras
parent531ac242a7ebd0e08393d2a0efa7a75703eaa456 (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')
-rw-r--r--extras/hs-test/container.go2
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")
}