From ba08833b2acceb054177149f1de1c45a548bd36b Mon Sep 17 00:00:00 2001 From: Mark Sargent <99003+sarge@users.noreply.github.com> Date: Thu, 26 Mar 2020 03:55:14 +1300 Subject: ci: exclude integration tests for now (#3188) A workaround for inconsistent results on Windows --- caddytest/caddytest.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'caddytest') diff --git a/caddytest/caddytest.go b/caddytest/caddytest.go index ed503eb..0f2799f 100644 --- a/caddytest/caddytest.go +++ b/caddytest/caddytest.go @@ -68,6 +68,11 @@ func InitServer(t *testing.T, rawConfig string, configType string) { // type. The configType must be either "json" or the adapter type. func initServer(t *testing.T, rawConfig string, configType string) error { + if testing.Short() { + t.SkipNow() + return nil + } + err := validateTestPrerequisites() if err != nil { t.Skipf("skipping tests as failed integration prerequisites. %s", err) -- cgit v1.2.3