Disable a test locally
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 28 Apr 2020 10:24:02 +0000 (12:24 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 28 Apr 2020 10:24:02 +0000 (12:24 +0200)
It has started to fail in LiteIDE for some reason (works from the shell and on CI).

hugolib/hugo_modules_test.go

index 25217363cc8b244a34b5781d79d14e30400f8a47..b69503021aa2460c914e90cbdf9f1a7dc67260a9 100644 (file)
@@ -40,6 +40,10 @@ import (
 
 // https://github.com/gohugoio/hugo/issues/6730
 func TestHugoModulesTargetInSubFolder(t *testing.T) {
+       if !isCI() {
+               // TODO(bep) investigate why this fails when running in LiteIDE (it works from the shell).
+               t.Skip("skip (relative) long running modules test when running locally")
+       }
        config := `
 baseURL="https://example.org"
 workingDir = %q