Skip to content

Commit

Permalink
Increase trade test timeouts (#16394)
Browse files Browse the repository at this point in the history
Increase TradeTest timeouts
  • Loading branch information
Quexington authored Sep 22, 2023
1 parent bbd5732 commit e120ec4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/wallet/cat_wallet/test_trades.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ async def test_cat_trades(
await time_out_assert(15, new_cat_wallet_taker.get_unconfirmed_balance, TAKER_NEW_CAT_BALANCE)

await full_node.process_transaction_records(records=tx_records)
await full_node.wait_for_wallets_synced(wallet_nodes=[wallet_node_maker, wallet_node_taker], timeout=30)
await full_node.wait_for_wallets_synced(wallet_nodes=[wallet_node_maker, wallet_node_taker], timeout=60)

await time_out_assert(15, wallet_maker.get_confirmed_balance, MAKER_CHIA_BALANCE)
await time_out_assert(15, wallet_maker.get_unconfirmed_balance, MAKER_CHIA_BALANCE)
Expand Down Expand Up @@ -464,7 +464,7 @@ async def assert_trade_tx_number(wallet_node, trade_id, number):
await time_out_assert(15, cat_wallet_taker.get_unconfirmed_balance, TAKER_CAT_BALANCE)

await full_node.process_transaction_records(records=tx_records)
await full_node.wait_for_wallets_synced(wallet_nodes=[wallet_node_maker, wallet_node_taker], timeout=30)
await full_node.wait_for_wallets_synced(wallet_nodes=[wallet_node_maker, wallet_node_taker], timeout=60)

await time_out_assert(15, wallet_maker.get_confirmed_balance, MAKER_CHIA_BALANCE)
await time_out_assert(15, wallet_maker.get_unconfirmed_balance, MAKER_CHIA_BALANCE)
Expand Down Expand Up @@ -513,7 +513,7 @@ async def assert_trade_tx_number(wallet_node, trade_id, number):
await time_out_assert(15, cat_wallet_taker.get_unconfirmed_balance, TAKER_CAT_BALANCE)

await full_node.process_transaction_records(records=tx_records)
await full_node.wait_for_wallets_synced(wallet_nodes=[wallet_node_maker, wallet_node_taker], timeout=30)
await full_node.wait_for_wallets_synced(wallet_nodes=[wallet_node_maker, wallet_node_taker], timeout=60)

if credential_restricted:
await claim_pending_approval_balance(
Expand Down Expand Up @@ -595,7 +595,7 @@ async def assert_trade_tx_number(wallet_node, trade_id, number):
await time_out_assert(15, cat_wallet_taker.get_unconfirmed_balance, TAKER_CAT_BALANCE)

await full_node.process_transaction_records(records=tx_records)
await full_node.wait_for_wallets_synced(wallet_nodes=[wallet_node_maker, wallet_node_taker], timeout=30)
await full_node.wait_for_wallets_synced(wallet_nodes=[wallet_node_maker, wallet_node_taker], timeout=60)

if credential_restricted:
await claim_pending_approval_balance(
Expand Down Expand Up @@ -656,7 +656,7 @@ async def assert_trade_tx_number(wallet_node, trade_id, number):
await time_out_assert(15, cat_wallet_taker.get_unconfirmed_balance, TAKER_CAT_BALANCE)

await full_node.process_transaction_records(records=tx_records)
await full_node.wait_for_wallets_synced(wallet_nodes=[wallet_node_maker, wallet_node_taker], timeout=30)
await full_node.wait_for_wallets_synced(wallet_nodes=[wallet_node_maker, wallet_node_taker], timeout=60)

await time_out_assert(15, new_cat_wallet_maker.get_confirmed_balance, MAKER_NEW_CAT_BALANCE)
await time_out_assert(15, new_cat_wallet_maker.get_unconfirmed_balance, MAKER_NEW_CAT_BALANCE)
Expand Down Expand Up @@ -701,7 +701,7 @@ async def assert_trade_tx_number(wallet_node, trade_id, number):
await time_out_assert(15, cat_wallet_taker.get_unconfirmed_balance, TAKER_CAT_BALANCE)

await full_node.process_transaction_records(records=tx_records)
await full_node.wait_for_wallets_synced(wallet_nodes=[wallet_node_maker, wallet_node_taker], timeout=30)
await full_node.wait_for_wallets_synced(wallet_nodes=[wallet_node_maker, wallet_node_taker], timeout=60)

if credential_restricted:
await claim_pending_approval_balance(
Expand Down

0 comments on commit e120ec4

Please sign in to comment.