diff options
author | Mohammed Al Sahaf <msaa1990@gmail.com> | 2022-09-24 22:00:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-24 19:00:55 +0000 |
commit | b5727b9c443b45a83c463caa85a24783e901f144 (patch) | |
tree | 97949546b02752d816aa334fb9702a43727d759c /caddytest/integration/caddyfile_test.go | |
parent | 7041970059db9047143d82b2c489c7bc34df691f (diff) |
ci: fix integration tests (#5079)
Diffstat (limited to 'caddytest/integration/caddyfile_test.go')
-rw-r--r-- | caddytest/integration/caddyfile_test.go | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/caddytest/integration/caddyfile_test.go b/caddytest/integration/caddyfile_test.go index 77ac54e..3f3ba0a 100644 --- a/caddytest/integration/caddyfile_test.go +++ b/caddytest/integration/caddyfile_test.go @@ -14,9 +14,10 @@ func TestRespond(t *testing.T) { tester := caddytest.NewTester(t) tester.InitServer(` { + admin localhost:2999 http_port 9080 https_port 9443 - grace_period 1 + grace_period 1ns } localhost:9080 { @@ -36,9 +37,10 @@ func TestRedirect(t *testing.T) { tester := caddytest.NewTester(t) tester.InitServer(` { + admin localhost:2999 http_port 9080 https_port 9443 - grace_period 1 + grace_period 1ns } localhost:9080 { @@ -86,9 +88,11 @@ func TestReadCookie(t *testing.T) { tester.Client.Jar.SetCookies(localhost, []*http.Cookie{&cookie}) tester.InitServer(` { + skip_install_trust + admin localhost:2999 http_port 9080 https_port 9443 - grace_period 1 + grace_period 1ns } localhost:9080 { @@ -110,9 +114,11 @@ func TestReplIndex(t *testing.T) { tester := caddytest.NewTester(t) tester.InitServer(` { + skip_install_trust + admin localhost:2999 http_port 9080 https_port 9443 - grace_period 1 + grace_period 1ns } localhost:9080 { |