diff --git a/e2etest/test_manager.go b/e2etest/test_manager.go index b5e68f3..70d3d30 100644 --- a/e2etest/test_manager.go +++ b/e2etest/test_manager.go @@ -109,7 +109,7 @@ func StartManager(t *testing.T, numMatureOutputsInWallet uint32, epochInterval u }, nil) require.NoError(t, err) - err = testRpcClient.WalletPassphrase(passphrase, 600) + err = testRpcClient.WalletPassphrase(passphrase, 6000) require.NoError(t, err) walletPrivKey, err := importPrivateKey(btcHandler) diff --git a/e2etest/unbondingwatcher_e2e_test.go b/e2etest/unbondingwatcher_e2e_test.go index 363691e..4a88d7f 100644 --- a/e2etest/unbondingwatcher_e2e_test.go +++ b/e2etest/unbondingwatcher_e2e_test.go @@ -99,7 +99,7 @@ func TestUnbondingWatcher(t *testing.T) { var wg sync.WaitGroup wg.Add(expectedUnbonds) - for _, del := range delegations { + for i, del := range delegations { go func() { defer wg.Done() stakingSlashingInfo := del.stakingSlashingInfo @@ -142,6 +142,9 @@ func TestUnbondingWatcher(t *testing.T) { return len(tm.RetrieveTransactionFromMempool(t, []*chainhash.Hash{&unbondingTxHash})) == 1 }, eventuallyWaitTimeOut, eventuallyPollTime) }() + if (i+1)%100 == 0 { + time.Sleep(7 * time.Second) + } } wg.Wait()