travis ci tests had a temporary failure, so this is to get it to retest
This commit is contained in:
parent
e2755624ec
commit
1ff17a3fa1
@ -47,7 +47,7 @@ func TestGCPHealthcheckNotHealthcheck(t *testing.T) {
|
|||||||
|
|
||||||
h := gcpHealthcheck(http.HandlerFunc(handler))
|
h := gcpHealthcheck(http.HandlerFunc(handler))
|
||||||
rw := httptest.NewRecorder()
|
rw := httptest.NewRecorder()
|
||||||
r, _ := http.NewRequest("GET", "/NOT_any_check", nil)
|
r, _ := http.NewRequest("GET", "/not_any_check", nil)
|
||||||
r.RemoteAddr = "127.0.0.1"
|
r.RemoteAddr = "127.0.0.1"
|
||||||
r.Host = "test-server"
|
r.Host = "test-server"
|
||||||
h.ServeHTTP(rw, r)
|
h.ServeHTTP(rw, r)
|
||||||
|
Loading…
Reference in New Issue
Block a user