Skip to content

Commit

Permalink
Rollback increase timeout for deactivating failpoint
Browse files Browse the repository at this point in the history
Because of etcd-io/gofail#64 being merged,
we can rollback the change.

Reference:
- #17719

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
  • Loading branch information
henrybear327 committed Jun 9, 2024
1 parent 8a0054f commit 0a955fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/framework/e2e/etcd_process.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,7 @@ func (f *BinaryFailpoints) DeactivateHTTP(ctx context.Context, failpoint string)
return err
}
httpClient := http.Client{
// TODO: Decrease after deactivate is not blocked by sleep https://github.com/etcd-io/gofail/issues/64
Timeout: 2 * time.Second,
Timeout: 1 * time.Second,
}
if f.clientTimeout != 0 {
httpClient.Timeout = f.clientTimeout
Expand Down

0 comments on commit 0a955fd

Please sign in to comment.