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

[1.0.1] Test: Rewrite P2P sync throttle test #708

Merged
merged 3 commits into from
Sep 6, 2024

Conversation

heifner
Copy link
Member

@heifner heifner commented Sep 5, 2024

Existing implementation was flaky and depended on prometheus endpoint of nodeos. It required catching a transient state reported by the prometheus endpoint. This was not reliable.

Now the test sets up two different syncing nodes. One that is heavily throttled and one that is not and verifies the throttled one syncs much slower.

Resolves #541

…ents the caller for having to wait or similarly verify.
…endpoint and simplify implementation. Hopefully this will make the test less flaky.
@heifner heifner requested review from linh2931 and greg7mdp September 5, 2024 19:54
@heifner heifner added the OCI Work exclusive to OCI team label Sep 5, 2024
@heifner heifner linked an issue Sep 5, 2024 that may be closed by this pull request
@heifner heifner requested review from greg7mdp and linh2931 September 6, 2024 14:21
@heifner heifner merged commit d0014eb into release/1.0 Sep 6, 2024
36 checks passed
@heifner heifner deleted the GH-541-p2p-sync-throttle-test branch September 6, 2024 19:21
@ericpassmore
Copy link
Contributor

Note:start
category: Tests
component: Internal
summary: Rewrite P2P sync throttle test.
Note:end

@ericpassmore ericpassmore added the test-instability tag issues for flaky tests, high priority to address label Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team test-instability tag issues for flaky tests, high priority to address
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failure: p2p_sync_throttle_test
4 participants