浏览代码

devmapper: the tests are fast enough that we no longer need a workaround to avoid timeouts

Solomon Hykes 11 年之前
父节点
当前提交
cad913c57b
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0 7
      runtime_test.go

+ 0 - 7
runtime_test.go

@@ -193,13 +193,6 @@ func setupBaseImage() {
 		log.Fatalf("Unable to create a runtime for tests:", err)
 	}
 
-	// Create a device, which triggers the initiation of the base FS
-	// This avoids other tests doing this and timing out
-	deviceset := devmapper.NewDeviceSet(unitTestStoreBase)
-	if err := deviceset.AddDevice("init", ""); err != nil {
-		log.Fatalf("Unable to setup the base image: %s", err)
-	}
-
 	// Create the "Server"
 	srv := &Server{
 		runtime:     runtime,