Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
531ac24
)
hs-test: zero timeout on docker stop
40/37940/2
author
Florin Coras
<fcoras@cisco.com>
Tue, 17 Jan 2023 21:02:51 +0000
(13:02 -0800)
committer
Dave Wallace
<dwallacelf@gmail.com>
Wed, 18 Jan 2023 01:06:19 +0000
(
01:06
+0000)
Should drop execution time for all tests by about 80%.
Type: test
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ib6b4ef9fb4e7745a61b40c0b34e53e4046ccdbcc
extras/hs-test/container.go
patch
|
blob
|
history
diff --git
a/extras/hs-test/container.go
b/extras/hs-test/container.go
index
874ce3d
..
971f3b6
100644
(file)
--- 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"
)
}