Skip to content

Upgrade rand to v0.9.4#84

Open
fkouteib wants to merge 1 commit into
anza-xyz:masterfrom
fkouteib:upgrade_rand
Open

Upgrade rand to v0.9.4#84
fkouteib wants to merge 1 commit into
anza-xyz:masterfrom
fkouteib:upgrade_rand

Conversation

@fkouteib

@fkouteib fkouteib commented Jun 3, 2026

Copy link
Copy Markdown
Contributor
  • Upgrade rand to v0.9.4 to agave v4.0 branch
  • Update breaking API changes

@fkouteib fkouteib requested a review from KirillLykov June 3, 2026 23:21
async fn test_create_accounts_half_rpc_succeeds() {
let seed = 12345;
let rpc_client = Arc::new(create_mock_rpc_client(&["succeeds", "fails"], seed));
let rpc_client = Arc::new(create_mock_rpc_client(&[ "fails", "succeeds"], seed));

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This seems fragile that the the ordering seems to modulate the test outcome here, for the same seed. Test should probably be reworked to something more deterministic so it doesn't break on rand crate upgrades. It works for now and still gives us the. 50-50 we are after.

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.

1 participant