Skip to content

Commit

Permalink
fix more
Browse files Browse the repository at this point in the history
  • Loading branch information
SWvheerden committed Jan 17, 2024
1 parent e475eb2 commit 87353b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration_tests/tests/features/Sync.feature
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Feature: Block Sync
When I have 2 base nodes connected to all seed nodes
Then all nodes are at height 20

@critical
@critical @pie
Scenario: Sync burned output
Given I have a seed node NODE
When I have a base node NODE1 connected to all seed nodes
Expand Down
5 changes: 4 additions & 1 deletion integration_tests/tests/steps/wallet_steps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ use grpc::{
ClaimShaAtomicSwapRequest,
Empty,
GetBalanceRequest,
ValidateRequest,
GetCompletedTransactionsRequest,
GetIdentityRequest,
GetTransactionInfoRequest,
ImportUtxosRequest,
PaymentRecipient,
SendShaAtomicSwapRequest,
TransferRequest,
ValidateRequest,
};
use minotari_app_grpc::tari_rpc::{self as grpc};
use minotari_console_wallet::{CliCommands, ExportUtxosArgs};
Expand Down Expand Up @@ -108,6 +108,7 @@ async fn wait_for_wallet_to_have_micro_tari(world: &mut TariWorld, wallet: Strin
let mut curr_amount = 0;

for _ in 0..=num_retries {
let _ = client.validate_all_transactions(ValidateRequest {}).await;
curr_amount = client
.get_balance(GetBalanceRequest {})
.await
Expand Down Expand Up @@ -1508,6 +1509,7 @@ async fn wallet_has_tari(world: &mut TariWorld, wallet: String, amount: u64) {
let mut available_balance = 0;

for _ in 0..num_retries {
let _ = wallet_client.validate_all_transactions(ValidateRequest {}).await;
let balance_res = wallet_client
.get_balance(GetBalanceRequest {})
.await
Expand Down Expand Up @@ -2055,6 +2057,7 @@ async fn wait_for_wallet_to_have_less_than_amount(world: &mut TariWorld, wallet:
let mut curr_amount = u64::MAX;

for _ in 0..=num_retries {
let _ = client.validate_all_transactions(ValidateRequest {}).await;
curr_amount = client
.get_balance(GetBalanceRequest {})
.await
Expand Down

0 comments on commit 87353b4

Please sign in to comment.