From: Florin Coras Date: Tue, 17 Jan 2023 21:02:51 +0000 (-0800) Subject: hs-test: zero timeout on docker stop X-Git-Tag: v23.06-rc0~4 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=f4fe0168a6eeef4435835b8bebe52bf03f5a7dbd;p=vpp.git hs-test: zero timeout on docker stop Should drop execution time for all tests by about 80%. Type: test Signed-off-by: Florin Coras Change-Id: Ib6b4ef9fb4e7745a61b40c0b34e53e4046ccdbcc --- 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") }