Always use the 'vfs' storage driver in integration tests. To test other drivers, we need a dedicated driver validation suite.

This commit is contained in:
Solomon Hykes 2013-11-26 04:48:03 +00:00
parent fb3d60f27a
commit a937313747

View file

@ -74,6 +74,9 @@ func layerArchive(tarfile string) (io.Reader, error) {
}
func init() {
// Always use the same driver (vfs) for all integration tests.
// To test other drivers, we need a dedicated driver validation suite.
os.Setenv("DOCKER_DRIVER", "vfs")
os.Setenv("TEST", "1")
// Hack to run sys init during unit testing