Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Wait for stake distribution in automation#7883

Merged
solana-grimes merged 1 commit intosolana-labs:masterfrom
danpaul000:wait-for-stake
Jan 20, 2020
Merged

Wait for stake distribution in automation#7883
solana-grimes merged 1 commit intosolana-labs:masterfrom
danpaul000:wait-for-stake

Conversation

@danpaul000
Copy link
Copy Markdown
Contributor

Problem

Some of our automation tests may not provide accurate results if we capture statistics while the bootstrap leader still holds a supermajority of the cluster stake.

Summary of Changes

Add an function to query the cluster and wait for the bootstrap leader's stake to fall below a certain percentage before continuing with the testcase. Default threshold is 66%.

@danpaul000 danpaul000 force-pushed the wait-for-stake branch 2 times, most recently from d9a1a5e to d4c4787 Compare January 20, 2020 20:38
@danpaul000 danpaul000 added the automerge Merge this Pull Request automatically once CI passes label Jan 20, 2020
@solana-grimes solana-grimes merged commit cccaace into solana-labs:master Jan 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

automerge Merge this Pull Request automatically once CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants