From fda940c4d13d13d49b3737054a22b319556037ca Mon Sep 17 00:00:00 2001 From: paolino Date: Mon, 11 Dec 2023 14:13:18 +0000 Subject: [PATCH] Remove E2E tests about delegation states As unreliable if between joining and leaving pools we cross epoch boundary --- test/e2e/spec/e2e_spec.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/e2e/spec/e2e_spec.rb b/test/e2e/spec/e2e_spec.rb index e80b7adba27..fa3ff5e3df9 100644 --- a/test/e2e/spec/e2e_spec.rb +++ b/test/e2e/spec/e2e_spec.rb @@ -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 @@ -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