para: Skip para test when not on CI

Fixes #6963
This commit is contained in:
Bjørn Erik Pedersen
2020-12-23 19:47:20 +01:00
parent f802bb236a
commit a9718f44cd
9 changed files with 21 additions and 13 deletions

View File

@@ -414,7 +414,7 @@ func doTestMultiSitesBuild(t *testing.T, configTemplate, configSuffix string) {
func TestMultiSitesRebuild(t *testing.T) {
// t.Parallel() not supported, see https://github.com/fortytw2/leaktest/issues/4
// This leaktest seems to be a little bit shaky on Travis.
if !isCI() {
if !htesting.IsCI() {
defer leaktest.CheckTimeout(t, 10*time.Second)()
}