diff options
author | Bjørn Erik Pedersen <[email protected]> | 2022-09-22 11:24:42 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-09-22 11:24:42 +0200 |
commit | 08f0984f918bb97d35c1765d3b94b1a9a1a3b9cd (patch) | |
tree | 73947ebda85a6bd062c56a9538230212dd87c1ce | |
parent | 86653fa38eb43a5fabf7adc694c752ccb7721ffa (diff) | |
download | hugo-08f0984f918bb97d35c1765d3b94b1a9a1a3b9cd.tar.gz hugo-08f0984f918bb97d35c1765d3b94b1a9a1a3b9cd.zip |
commands: Skip flaky test on CI
-rw-r--r-- | commands/server_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/commands/server_test.go b/commands/server_test.go index a2fa1f37a..a2b306e54 100644 --- a/commands/server_test.go +++ b/commands/server_test.go @@ -25,6 +25,7 @@ import ( "github.com/gohugoio/hugo/config" "github.com/gohugoio/hugo/helpers" + "github.com/gohugoio/hugo/htesting" "golang.org/x/net/context" "golang.org/x/sync/errgroup" @@ -67,6 +68,11 @@ func TestServer404(t *testing.T) { // Issue 10287. func TestServerUnicode(t *testing.T) { + if htesting.IsCI() { + // This test is flaky on CI for some reason. + // TODO(bep) + t.Skip("Skipping test on CI") + } c := qt.New(t) r := runServerTest(c, |