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
This commit is contained in:
Florin Coras
2023-01-17 13:02:51 -08:00
committed by Dave Wallace
parent 531ac242a7
commit f4fe0168a6

View File

@ -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")
}