Skip to content

Commit

Permalink
Skip more long-running tests when running go test -short
Browse files Browse the repository at this point in the history
  • Loading branch information
brawer committed May 14, 2024
1 parent 667bfbc commit a1d9361
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cmd/qrank-builder/pageviews_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ func TestCombineCounts(t *testing.T) {
}

func TestBuildPageviews(t *testing.T) {
if testing.Short() {
t.Skip()
}

logger = log.New(&bytes.Buffer{}, "", log.Lshortfile)
ctx := context.Background()
dumps := filepath.Join("testdata", "dumps")
Expand Down Expand Up @@ -187,6 +191,10 @@ func TestStoredPageviews(t *testing.T) {
}

func TestBuildWeeklyPageviews(t *testing.T) {
if testing.Short() {
t.Skip()
}

logger = log.New(&bytes.Buffer{}, "", log.Lshortfile)
ctx := context.Background()
dumps := filepath.Join("testdata", "dumps")
Expand Down

0 comments on commit a1d9361

Please sign in to comment.