1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

This commit is contained in:
Solomon Hykes 2013-10-18 06:48:20 +00:00
parent 5f58a1fbe4
commit cad913c57b

View file

@ -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,