summaryrefslogtreecommitdiff
path: root/caddytest
diff options
context:
space:
mode:
Diffstat (limited to 'caddytest')
-rw-r--r--caddytest/caddytest.go5
1 files changed, 5 insertions, 0 deletions
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)