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

Fix intermittent failures in test_incremental_snapshot_download_with_crossing_full_snapshot_interval_at_startup()#24440

Merged
brooksprumo merged 1 commit intosolana-labs:masterfrom
brooksprumo:fix-local-cluster-snapshot-test
Apr 18, 2022
Merged

Fix intermittent failures in test_incremental_snapshot_download_with_crossing_full_snapshot_interval_at_startup()#24440
brooksprumo merged 1 commit intosolana-labs:masterfrom
brooksprumo:fix-local-cluster-snapshot-test

Conversation

@brooksprumo
Copy link
Copy Markdown
Contributor

@brooksprumo brooksprumo commented Apr 18, 2022

Problem

Local-cluster test test_incremental_snapshot_download_with_crossing_full_snapshot_interval_at_startup() fails intermittently.

Summary of Changes

The test made some assumptions w.r.t. how long it would take to take snapshots. However, sometimes the snapshot process was faster than expected, so the test would not check in time (it was expecting snapshot + 1 and then would see snapshot + 2) and then fail. Now, explicitly find the specific snapshot (snapshot + 1), instead of just asking for the latest.

…crossing_full_snapshot_interval_at_startup()
@brooksprumo brooksprumo marked this pull request as ready for review April 18, 2022 16:50
@brooksprumo brooksprumo merged commit 1769a4e into solana-labs:master Apr 18, 2022
@brooksprumo brooksprumo deleted the fix-local-cluster-snapshot-test branch April 18, 2022 18:08
jeffwashington pushed a commit to jeffwashington/solana that referenced this pull request Jun 29, 2022
jeffwashington pushed a commit to jeffwashington/solana that referenced this pull request Jun 29, 2022
jeffwashington pushed a commit to jeffwashington/solana that referenced this pull request Jun 30, 2022
jeffwashington pushed a commit to jeffwashington/solana that referenced this pull request Jun 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant