mirror of https://github.com/docker/docs.git
devmapper: the tests are fast enough that we no longer need a workaround to avoid timeouts
This commit is contained in:
parent
5f58a1fbe4
commit
cad913c57b
|
@ -193,13 +193,6 @@ func setupBaseImage() {
|
||||||
log.Fatalf("Unable to create a runtime for tests:", err)
|
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"
|
// Create the "Server"
|
||||||
srv := &Server{
|
srv := &Server{
|
||||||
runtime: runtime,
|
runtime: runtime,
|
||||||
|
|
Loading…
Reference in New Issue