Skip to content

Commit

Permalink
chore: remove split of e2e test runs, failing to start
Browse files Browse the repository at this point in the history
  • Loading branch information
RafilxTenfen committed Jan 21, 2025
1 parent 2ecb65a commit 502cf0e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions itest/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,16 @@ func TestCovenantEmulatorLifeCycle(t *testing.T) {
res, err := tm.CovenantEmulator.AddCovenantSignatures(dels)
require.NoError(t, err)
require.Empty(t, res)
}

func TestQueryPendingDelegations(t *testing.T) {
tm, btcPks := StartManagerWithFinalityProvider(t, 1)
defer tm.Stop(t)

// manually sets the pg to a low value
// Check pending dels
clientcontroller.MaxPaginationLimit = 2

numDels := 3
for i := 0; i < numDels; i++ {
_ = tm.InsertBTCDelegation(t, btcPks, stakingTime, stakingAmount, false)
}

dels, err := tm.CovBBNClient.QueryPendingDelegations(uint64(numDels), nil)
dels, err = tm.CovBBNClient.QueryPendingDelegations(uint64(numDels), nil)
require.NoError(t, err)
require.Len(t, dels, numDels)
}

0 comments on commit 502cf0e

Please sign in to comment.