Browse Source

Specify a different bridge for tests than for regular runtime

Guillaume J. Charmes 12 years ago
parent
commit
ee298d1420
1 changed files with 2 additions and 0 deletions
  1. 2 0
      runtime_test.go

+ 2 - 0
runtime_test.go

@@ -60,6 +60,8 @@ func init() {
 		panic("docker tests needs to be run as root")
 	}
 
+	NetworkBridgeIface = "testdockbr0"
+
 	// Make it our Store root
 	runtime, err := NewRuntimeFromDirectory(unitTestStoreBase)
 	if err != nil {