pull/7044/head
Priya Wadhwa 2020-03-24 17:25:27 -07:00
parent d2171be291
commit 744f76e3b6
1 changed files with 3 additions and 1 deletions

View File

@ -74,7 +74,7 @@ func TestDownloadOnly(t *testing.T) {
if !NoneDriver() {
if download.PreloadExists(v, r) {
// Just make sure the tarball path exists
if _, err := os.Stat(download.TarballPath(v)); err != nil {
if _, err := os.Stat(download.TarballPath(v, r)); err != nil {
t.Errorf("preloaded tarball path doesn't exist: %v", err)
}
return
@ -154,6 +154,8 @@ func TestDownloadOnlyKic(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), Minutes(15))
defer Cleanup(t, profile, cancel)
cRuntime := "docker"
args := []string{"start", "--download-only", "-p", profile, "--force", "--alsologtostderr"}
args = append(args, StartArgs()...)
rr, err := Run(t, exec.CommandContext(ctx, Target(), args...))