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 -> main] Test: Rewrite P2P sync throttle test #718

Merged
merged 5 commits into from
Sep 6, 2024

Conversation

heifner
Copy link
Member

@heifner heifner commented Sep 6, 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.

Merges release/1.0 into main including #708

Resolves #541

@heifner heifner requested review from greg7mdp and linh2931 September 6, 2024 19:22
@heifner heifner added the OCI Work exclusive to OCI team label Sep 6, 2024
@heifner heifner linked an issue Sep 6, 2024 that may be closed by this pull request
Base automatically changed from GH-709-undefined-behavior-main to main September 6, 2024 20:50
@heifner heifner merged commit 4e65af5 into main Sep 6, 2024
36 checks passed
@heifner heifner deleted the GH-541-p2p-sync-throttle-test-main branch September 6, 2024 21:52
@ericpassmore
Copy link
Contributor

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

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failure: p2p_sync_throttle_test
4 participants