Browse Source

Merge pull request #1179 from mrjana/bugs

Fix flakiness in dnet_exec
Alessandro Boch 9 years ago
parent
commit
ff78816769
1 changed files with 1 additions and 1 deletions
  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() {