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:
parent
fb3d60f27a
commit
a937313747
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue