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

Upstream-commit: a93731374705188f1434001dd1deaf4af9c77fcd
Component: engine
This commit is contained in:
Solomon Hykes
2013-11-26 04:48:03 +00:00
parent 21e81bd668
commit 2a72640146

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