increase timeout a little for a flaky test

This commit is contained in:
Umputun
2023-02-26 16:21:16 -06:00
parent 00ff3e8f37
commit ffd6b08257

View File

@@ -421,14 +421,15 @@ func TestHttp_DoWithAssetRules(t *testing.T) {
go func() {
_ = svc.Run(context.Background())
}()
time.Sleep(50 * time.Millisecond)
time.Sleep(150 * time.Millisecond)
h.Matcher = svc
h.Metrics = mgmt.NewMetrics()
go func() {
_ = h.Run(ctx)
}()
time.Sleep(10 * time.Millisecond)
time.Sleep(150 * time.Millisecond)
client := http.Client{}
{