testing: Skip some slow tests when not running in CI

Fixes #14438
This commit is contained in:
Bjørn Erik Pedersen
2026-01-27 10:20:39 +01:00
parent b3ea2a5fab
commit 5f5b2f378f
14 changed files with 54 additions and 3 deletions
+3
View File
@@ -18,6 +18,8 @@ import (
"fmt"
"io"
"strings"
"github.com/gohugoio/hugo/htesting"
"sync"
"testing"
"time"
@@ -160,6 +162,7 @@ dir = ":cacheDir/c"
}
func TestFileCacheConcurrent(t *testing.T) {
htesting.SkipSlowTestUnlessCI(t)
t.Parallel()
c := qt.New(t)