소스 검색

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,