Skip to content

Commit

Permalink
fix: improve test Wallet should display transactions made (#3501)
Browse files Browse the repository at this point in the history
Description
---
This test can have the wallets fail to talk to each other before sending begins which results in the wallets talking over SAF. This is a much slower communication method which can result in the step `And I send 100000 uT from wallet WALLET_A to wallet WALLET_B at fee 100` failing to reach the broadcast stage. 
This PR moves the init step of Wallet_B much earlier to increase the changes that the two wallets should communicate directly.
  • Loading branch information
SWvheerden authored Oct 27, 2021
1 parent 7987edc commit 6b3bac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration_tests/features/WalletTransactions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ Feature: Wallet Transactions
Given I have a seed node NODE
And I have 1 base nodes connected to all seed nodes
And I have wallet WALLET_A connected to all seed nodes
And I have wallet WALLET_B connected to all seed nodes
And I have mining node MINER connected to base node NODE and wallet WALLET_A
When mining node MINER mines 10 blocks
Then all nodes are at height 10
Then I wait for wallet WALLET_A to have at least 10000000000 uT
Then I have wallet WALLET_B connected to all seed nodes
And I send 100000 uT from wallet WALLET_A to wallet WALLET_B at fee 100
And I send 100000 uT from wallet WALLET_A to wallet WALLET_B at fee 100
And I send 100000 uT from wallet WALLET_A to wallet WALLET_B at fee 100
Expand Down

0 comments on commit 6b3bac8

Please sign in to comment.