diff --git a/application/server/server_smoke_test.go b/application/server/server_smoke_test.go index 388f52363..4b169d117 100644 --- a/application/server/server_smoke_test.go +++ b/application/server/server_smoke_test.go @@ -30,6 +30,7 @@ import ( "github.com/creachadair/jrpc2" "github.com/creachadair/jrpc2/server" + "github.com/rs/zerolog" "github.com/snyk/go-application-framework/pkg/configuration" sglsp "github.com/sourcegraph/go-lsp" "github.com/stretchr/testify/assert" @@ -181,6 +182,7 @@ func Test_SmokeIssueCaching(t *testing.T) { if runtime.GOOS == "windows" { t.Setenv("SNYK_LOG_LEVEL", "trace") c.ConfigureLogging(nil) + c.SetLogLevel(zerolog.TraceLevel.String()) } folderJuice := addJuiceShopAsWorkspaceFolder(t, loc, c) diff --git a/internal/testutil/test_setup.go b/internal/testutil/test_setup.go index 3688a582f..ca6f8d20a 100644 --- a/internal/testutil/test_setup.go +++ b/internal/testutil/test_setup.go @@ -161,7 +161,7 @@ func SetupCustomTestRepo(t *testing.T, rootDir string, url string, targetCommit assert.NoError(t, os.MkdirAll(tempDir, 0755)) repoDir := "1" absoluteCloneRepoDir := filepath.Join(tempDir, repoDir) - cmd := []string{"clone", url, repoDir} + cmd := []string{"clone", "-v", url, repoDir} logger.Debug().Interface("cmd", cmd).Msg("clone command") clone := exec.Command("git", cmd...) clone.Dir = tempDir