mirror of
https://github.com/umputun/reproxy.git
synced 2024-11-24 08:12:31 +02:00
longer sleep for flaky test
This commit is contained in:
parent
aea74d717f
commit
15616dfa57
@ -101,7 +101,7 @@ func TestHttp_healthHandler(t *testing.T) {
|
|||||||
go func() {
|
go func() {
|
||||||
_ = h.Run(ctx)
|
_ = h.Run(ctx)
|
||||||
}()
|
}()
|
||||||
time.Sleep(20 * time.Millisecond)
|
time.Sleep(50 * time.Millisecond)
|
||||||
|
|
||||||
client := http.Client{}
|
client := http.Client{}
|
||||||
req, err := http.NewRequest("GET", "http://127.0.0.1:"+strconv.Itoa(port)+"/health", nil)
|
req, err := http.NewRequest("GET", "http://127.0.0.1:"+strconv.Itoa(port)+"/health", nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user