Description: Some tests require internet access. This patch skips them. Author: Stephen Gelman Forwarded: not-needed --- --- a/internal/app/builder_test.go +++ b/internal/app/builder_test.go @@ -39,6 +39,8 @@ } func TestExecQuickMode(t *testing.T) { + // Test requires internet access + t.Skip() th := git.InitTestRepositoryFromLocal(t) defer th.CleanUp(t) --- a/internal/app/quick_test.go +++ b/internal/app/quick_test.go @@ -8,6 +8,8 @@ ) func TestQuick(t *testing.T) { + // Test requires internet access + t.Skip() th := git.InitTestRepositoryFromLocal(t) defer th.CleanUp(t) --- a/internal/command/cmd_test.go +++ b/internal/command/cmd_test.go @@ -8,6 +8,8 @@ ) func TestRun(t *testing.T) { + // Test must be run from git repo + t.Skip() wd, err := os.Getwd() if err != nil { t.Fatalf("Test Failed.") --- a/internal/command/fetch_test.go +++ b/internal/command/fetch_test.go @@ -29,6 +29,8 @@ ) func TestFetchWithGit(t *testing.T) { + // Test requires internet access + t.Skip() th := git.InitTestRepositoryFromLocal(t) defer th.CleanUp(t) @@ -47,6 +49,8 @@ } func TestFetchWithGoGit(t *testing.T) { + // Test requires internet access + t.Skip() th := git.InitTestRepositoryFromLocal(t) defer th.CleanUp(t) --- a/internal/command/pull_test.go +++ b/internal/command/pull_test.go @@ -24,6 +24,8 @@ ) func TestPullWithGit(t *testing.T) { + // Test requires internet access + t.Skip() th := git.InitTestRepositoryFromLocal(t) defer th.CleanUp(t) @@ -41,6 +43,8 @@ } func TestPullWithGoGit(t *testing.T) { + // Test requires internet access + t.Skip() th := git.InitTestRepositoryFromLocal(t) defer th.CleanUp(t) --- a/internal/job/job_test.go +++ b/internal/job/job_test.go @@ -8,6 +8,8 @@ ) func TestStart(t *testing.T) { + // Test requires internet access + t.Skip() th := git.InitTestRepositoryFromLocal(t) defer th.CleanUp(t)