From 744f76e3b677f7164dbdbc5d7b60d3c328de9376 Mon Sep 17 00:00:00 2001 From: Priya Wadhwa <priyawadhwa@google.com> Date: Tue, 24 Mar 2020 17:25:27 -0700 Subject: [PATCH] fix lint --- test/integration/aaa_download_only_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/integration/aaa_download_only_test.go b/test/integration/aaa_download_only_test.go index c6c1c203ef..dc76967ce1 100644 --- a/test/integration/aaa_download_only_test.go +++ b/test/integration/aaa_download_only_test.go @@ -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...))