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

itest: use configurable timeout for load test #795

Merged
merged 1 commit into from
Feb 12, 2024
Merged

Conversation

guggero
Copy link
Member

@guggero guggero commented Feb 8, 2024

As investigated by @calvinrzachman, here's a small fix to make the load test more reliable.

Because things can take a bit longer the more addresses and events there are, the initial proof retrieval attempt of the universe proof courier can fail, causing it to go into a 30 second backoff. Because we used a hard coded timeout of 30 seconds for the transfer to complete, this sometimes failed the load test.
By making sure we use the same, configurable, timeout where relevant, we make the send process more reliable.

In addition, the following lines should be added to the load test nodes to shorten the duration of the backoff:

universerpccourier.initialbackoff=2s
universerpccourier.maxbackoff=30s

Because things can take a bit longer the more addresses and events there
are, the initial proof retrieval attempt of the universe proof courier
can fail, causing it to go into a 30 second backoff.
Because we used a hard coded timeout of 30 seconds for the transfer to
complete, this sometimes failed the load test.
By making sure we use the same, configurable, timeout where relevant, we
make the send process more reliable.

In addition, the following lines should be added to the load test nodes
to shorten the duration of the backoff:

universerpccourier.initialbackoff=2s
universerpccourier.maxbackoff=30s
Copy link
Contributor

@calvinrzachman calvinrzachman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! I gave this + your suggested configuration change a go in the load test environment and it resolves the flakiness I had been seeing. Thanks for looking at this one 🙏

Copy link
Member

@Roasbeef Roasbeef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🌂

@Roasbeef Roasbeef merged commit ac8a237 into main Feb 12, 2024
14 checks passed
@guggero guggero deleted the load-test-stability branch February 12, 2024 21:26
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.

3 participants