Fix ACI E2E test on windows (file path)

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
This commit is contained in:
guillaume.tardif 2020-10-07 10:32:52 +02:00 committed by Guillaume Tardif
parent 886363b44a
commit cd09351b0a
1 changed files with 2 additions and 1 deletions

View File

@ -498,7 +498,8 @@ func TestUpUpdate(t *testing.T) {
composeAccountName = strings.ToLower(composeAccountName)
dstDir := filepath.Join(os.TempDir(), "e2e-aci-volume-"+composeAccountName)
err := fileutil.CopyDirs("../composefiles/aci-demo/", dstDir)
srcDir := filepath.Join("..", "composefiles", "aci-demo")
err := fileutil.CopyDirs(srcDir, dstDir)
assert.NilError(t, err)
t.Cleanup(func() {
assert.NilError(t, os.RemoveAll(dstDir))