Parcourir la source

Merge pull request #1179 from mrjana/bugs

Fix flakiness in dnet_exec
Alessandro Boch il y a 9 ans
Parent
commit
ff78816769
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      libnetwork/test/integration/dnet/helpers.bash

+ 1 - 1
libnetwork/test/integration/dnet/helpers.bash

@@ -254,7 +254,7 @@ function dnet_cmd() {
 }
 
 function dnet_exec() {
-    docker exec -it ${1} bash -c "$2"
+    docker exec -it ${1} bash -c "trap \"echo SIGHUP\" SIGHUP; $2"
 }
 
 function runc() {