Increase client timeout for failpoint injection

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
This commit is contained in:
Marek Siarkowicz 2023-11-11 11:53:37 +01:00
parent e300c6f0e3
commit 13d7bf5ab7

View File

@ -392,7 +392,7 @@ func (f *BinaryFailpoints) DeactivateHTTP(ctx context.Context, failpoint string)
}
var httpClient = http.Client{
Timeout: 10 * time.Millisecond,
Timeout: 1 * time.Second,
}
func (f *BinaryFailpoints) Enabled() bool {