Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attacker: Simplify timeout configuration #397

Merged
merged 3 commits into from
Apr 29, 2019
Merged

attacker: Simplify timeout configuration #397

merged 3 commits into from
Apr 29, 2019

Conversation

tsenart
Copy link
Owner

@tsenart tsenart commented Apr 28, 2019

This commit simplifies the timeout configuration internally to make use
of the http.Client.Timeout field which didn't exist when this code was
originally written.

It also fixes #396: a test flake of TestTimeout.

This commit simplifies the timeout configuration internally to make use
of the `http.Client.Timeout` field which didn't exist when this code was
originally written.

It also fixes #396: a test flake of `TestTimeout`.
@tsenart tsenart requested a review from xla as a code owner April 28, 2019 12:25
lib/attack_test.go Outdated Show resolved Hide resolved
@tsenart tsenart merged commit e827e02 into master Apr 29, 2019
@tsenart tsenart deleted the simplify-timeouts branch April 29, 2019 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

io timeout in attack_test.go:122
1 participant