diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2022-06-29 03:41:07 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2022-06-29 03:41:07 +0300 |
commit | 16a140d1df7f5f165db12bd4f1b8afafce0376cf (patch) | |
tree | d5af53b5be6e171fefe21d78e55298beb9166db2 /test | |
parent | 7fd2e59052a24e8b2a78e4af87f292b3d8c1f8b3 (diff) | |
parent | 0373c2b9df2b2282d81be7b064a219f1a6cca35c (diff) |
Merge branch 'fix/invalid-writeheader' into 'master'
test: prevent invalid writeheader code 0 during tests
See merge request gitlab-org/gitlab-pages!802
Diffstat (limited to 'test')
-rw-r--r-- | test/acceptance/serving_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/acceptance/serving_test.go b/test/acceptance/serving_test.go index c7aed337..1655389b 100644 --- a/test/acceptance/serving_test.go +++ b/test/acceptance/serving_test.go @@ -370,6 +370,7 @@ func TestDomainResolverError(t *testing.T) { }, "timeout": { timeout: 100 * time.Millisecond, + status: http.StatusTeapot, }, "server_fails": { panic: true, |