Skip to content

Commit

Permalink
[ADP-3224] Remove unacceptable e2e tests (#4325)
Browse files Browse the repository at this point in the history
- [x] Relax expectations used in the E2E tests that are too strict (and
therefore fragile): they fail to take into account a possibility of an
epoch boundary happening between registering a stake key delegation and
un-registering it.
  • Loading branch information
Unisay authored Dec 11, 2023
2 parents 5647070 + fda940c commit 752c8b2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/e2e/spec/e2e_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,6 @@ def script_hash
expect(stake_keys['ours'].first['stake']['quantity']).to eq expected_quit_balance
expect(stake_keys['none']['stake']['quantity']).to eq 0
expect(stake_keys['ours'].first['delegation']['active']['status']).to eq 'not_delegating'
expect(stake_keys['ours'].first['delegation']['next'].first['status']).to eq 'not_delegating'
expect(stake_keys['ours'].first['delegation']['next'].last['status']).to eq 'not_delegating'
end

Expand Down Expand Up @@ -3002,7 +3001,6 @@ def script_hash
expect(stake_keys['ours'].first['stake']['quantity']).to eq total_balance_after
expect(stake_keys['none']['stake']['quantity']).to eq 0
expect(stake_keys['ours'].first['delegation']['active']['status']).to eq 'not_delegating'
expect(stake_keys['ours'].first['delegation']['next'].first['status']).to eq 'not_delegating'
expect(stake_keys['ours'].first['delegation']['next'].last['status']).to eq 'not_delegating'

# examine the tx in history
Expand Down

0 comments on commit 752c8b2

Please sign in to comment.