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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user