Commit 556f449b authored by Jacob Vosmaer's avatar Jacob Vosmaer

Merge branch 'sh-fix-httprs-race-condition' into 'master'

Fix race condition in httprs test

See merge request gitlab-org/gitlab-workhorse!584
parents 23b6b841 d90d38ea
---
title: Fix race condition in httprs test
merge_request: 584
author:
type: fixed
...@@ -111,7 +111,6 @@ func TestHttpWebServer(t *testing.T) { ...@@ -111,7 +111,6 @@ func TestHttpWebServer(t *testing.T) {
So(err, ShouldBeNil) So(err, ShouldBeNil)
server := httptest.NewServer(http.FileServer(http.Dir(dir))) server := httptest.NewServer(http.FileServer(http.Dir(dir)))
So(server, ShouldNotBeNil)
Convey("When requesting /file", func() { Convey("When requesting /file", func() {
res, err := http.Get(server.URL + "/file") res, err := http.Get(server.URL + "/file")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment