Browse code

Specify a different bridge for tests than for regular runtime

Guillaume J. Charmes authored on 2013/04/25 09:43:41
Showing 1 changed files
... ...
@@ -60,6 +60,8 @@ func init() {
60 60
 		panic("docker tests needs to be run as root")
61 61
 	}
62 62
 
63
+	NetworkBridgeIface = "testdockbr0"
64
+
63 65
 	// Make it our Store root
64 66
 	runtime, err := NewRuntimeFromDirectory(unitTestStoreBase)
65 67
 	if err != nil {