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:

committed by
Dave Wallace

parent
531ac242a7
commit
f4fe0168a6
@ -187,5 +187,5 @@ func (c *Container) execAction(args string) (string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *Container) stop() error {
|
func (c *Container) stop() error {
|
||||||
return exechelper.Run("docker stop " + c.name)
|
return exechelper.Run("docker stop " + c.name + " -t 0")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user