Skip to content

feat(e2e): skip e2e tests if paused#3685

Open
bgm-malbeclabs wants to merge 3 commits into
mainfrom
bgm/skip_if_paused
Open

feat(e2e): skip e2e tests if paused#3685
bgm-malbeclabs wants to merge 3 commits into
mainfrom
bgm/skip_if_paused

Conversation

@bgm-malbeclabs

@bgm-malbeclabs bgm-malbeclabs commented May 8, 2026

Copy link
Copy Markdown
Contributor

Summary of Changes

Update e2e tests to detect if a program is paused rather than run and fail

Closes #3683

Testing Verification

  • E2E tests are the verification

@vihu vihu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good. Should fix that sdk-compat test before landing though.

FetchRewardShares/FetchValidatorDebts wrapped whatever the ledger client returned. The gagliardetto RPC reports an absent account as rpc.ErrNotFound, so a missing record did not satisfy errors.Is(err, ErrAccountNotFound). The epoch-scan loop in TestCompatRewardShares relies on that check to skip epochs without a Shapley record, so it fataled on the first missing epoch instead of scanning the window (the sdk-compat-test failure on this PR).

Collapse rpc.ErrNotFound into ErrAccountNotFound at a getRecordData choke point used by both fetches; add unit regression tests.
@ben-dz ben-dz requested a review from vihu June 23, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

E2E: skip test if program paused

3 participants