Skip to content

Commit

Permalink
proof
Browse files Browse the repository at this point in the history
  • Loading branch information
panleone committed Nov 11, 2024
1 parent 5374229 commit 22a965f
Showing 1 changed file with 19 additions and 169 deletions.
188 changes: 19 additions & 169 deletions test/functional/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,140 +55,32 @@

BASE_SCRIPTS= [
# Scripts that are run by the travis build process.

# Longest test should go first, to favor running tests in parallel
'wallet_basic.py', # ~ 498 sec
'wallet_backup.py', # ~ 477 sec
'mempool_persist.py', # ~ 417 sec
'p2p_quorum_connect.py', # ~ 400 sec
'wallet_reorgsrestore.py', # ~ 391 sec
'p2p_addr_relay.py', # ~ 380 sec

# vv Tests less than 5m vv
'wallet_hd.py', # ~ 300 sec
'wallet_zapwallettxes.py', # ~ 300 sec
'feature_asmap.py', # ~ 271 sec
'p2p_time_offset.py', # ~ 267 sec
'rpc_fundrawtransaction.py', # ~ 227 sec
'mining_pos_coldStaking.py', # ~ 220 sec
'wallet_import_rescan.py', # ~ 204 sec
'p2p_invalid_block.py', # ~ 213 sec
'feature_reindex.py', # ~ 205 sec
'rpc_scantxoutset.py',
'feature_logging.py', # ~ 195 sec
'wallet_multiwallet.py', # ~ 190 sec
'rpc_bind.py --ipv6', # ~ 191 sec
'wallet_abandonconflict.py', # ~ 188 sec
'feature_blockindexstats.py', # ~ 167 sec
'wallet_importmulti.py', # ~ 157 sec
'wallet_keypool_topup.py', # ~ 153 sec
'rpc_bind.py --ipv4', # ~ 151 sec
'rpc_spork.py', # ~ 144 sec
'wallet_txn_doublespend.py --mineblock', # ~ 143 sec
'wallet_txn_clone.py --mineblock', # ~ 143 sec
'feature_block.py', # ~ 140 sec
'feature_proxy.py', # ~ 138 sec
'rpc_rawtransaction.py', # ~ 134 sec
'p2p_invalid_messages.py', # ~ 132 sec
'mining_pos_reorg.py', # ~ 128 sec
'rpc_bind.py --nonloopback', # ~ 126 sec
'feature_uacomment.py', # ~ 125 sec
'interface_rest.py', # ~ 120 sec

# vv Tests less than 2m vv
'wallet_upgrade.py', # ~ 119 sec
'p2p_disconnect_ban.py', # ~ 118 sec
'feature_notifications.py', # ~ 115 sec
'rpc_invalidateblock.py', # ~ 107 sec
'interface_http.py', # ~ 105 sec
'feature_abortnode.py', # ~ 101 sec
'feature_blockhashcache.py', # ~ 100 sec
'p2p_invalid_tx.py', # ~ 98 sec
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listreceivedby.py', # ~ 94 sec
'mining_pos_fakestake.py', # ~ 94 sec
'mempool_reorg.py', # ~ 92 sec
'interface_zmq.py', # ~ 90 sec
'wallet_encryption.py', # ~ 89 sec
'wallet_import_stakingaddress.py', # ~ 88 sec
'wallet_keypool.py', # ~ 88 sec
'feature_blocksdir.py', # ~ 85 sec
'feature_config_args.py', # ~ 85 sec
'wallet_dump.py', # ~ 83 sec
'rpc_net.py', # ~ 83 sec
'rpc_bip38.py', # ~ 82 sec
'rpc_deprecated.py', # ~ 80 sec
'interface_bitcoin_cli.py', # ~ 80 sec
'feature_filelock.py', # ~ 71 sec
'mempool_packages.py', # ~ 63 sec
'sapling_wallet_encryption.py',
'feature_exchangeaddr.py',

# vv Tests less than 60s vv
'rpc_users.py',
'wallet_labels.py', # ~ 57 sec
'rpc_signmessage.py', # ~ 54 sec
'p2p_leak.py', # ~ 54 sec
'wallet_resendwallettransactions.py', # ~ 53 sec
'mempool_resurrect.py', # ~ 51 sec
'rpc_budget.py', # ~ 50 sec
'mempool_spend_coinbase.py', # ~ 50 sec
'rpc_signrawtransaction.py', # ~ 50 sec
'rpc_decodescript.py', # ~ 50 sec
'rpc_blockchain.py', # ~ 50 sec
'wallet_disable.py', # ~ 50 sec
'p2p_addrv2_relay.py', # ~ 49 sec
'wallet_autocombine.py', # ~ 49 sec
'mining_v5_upgrade.py', # ~ 48 sec
'p2p_timeouts.py',
'p2p_mempool.py', # ~ 46 sec
'rpc_named_arguments.py', # ~ 45 sec
'feature_help.py', # ~ 30 sec
'feature_shutdown.py',

# Don't append tests at the end to avoid merge conflicts
# Put them in a random line within the section that fits their approximate run-time
# 'mempool_limit.py', # We currently don't limit our mempool_reorg
# 'rpc_getchaintips.py',
# 'mining_prioritisetransaction.py',
# 'mining_basic.py',
# 'wallet_bumpfee.py',
# 'wallet_listsinceblock.py',
# 'feature_cltv.py',
# 'feature_minchainwork.py',
# 'p2p_fingerprint.py',
# 'p2p_unrequested_blocks.py',
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listtransactions.py', # ~ 97 sec
'wallet_listtransactions.py', # ~ 97 sec
]

TIERTWO_SCRIPTS = [
# Longest test should go first, to favor running tests in parallel
'tiertwo_governance_sync_basic.py', # ~ 1160 sec
'tiertwo_dkg_errors.py', # ~ 486 sec
'tiertwo_dkg_pose.py', # ~ 444 sec
'tiertwo_mn_compatibility.py', # ~ 413 sec
'tiertwo_signing_session.py', # ~ 390 sec
'tiertwo_chainlocks.py', # ~ ??? sec
'tiertwo_deterministicmns.py', # ~ 366 sec
'tiertwo_governance_reorg.py', # ~ 361 sec
'tiertwo_masternode_activation.py', # ~ 352 sec
'tiertwo_masternode_ping.py', # ~ 293 sec
'tiertwo_governance_invalid_budget.py', # ~ 266 sec
'tiertwo_reorg_mempool.py', # ~ 97 sec
]

SAPLING_SCRIPTS = [
# Longest test should go first, to favor running tests in parallel
'sapling_key_import_export.py', # ~ 378 sec
'sapling_wallet.py', # ~ 350 sec
'sapling_wallet_anchorfork.py', # ~ 345 sec
'sapling_wallet_nullifiers.py', # ~ 190 sec
'sapling_wallet_listreceived.py', # ~ 157 sec
'sapling_wallet_send.py', # ~ 126 sec
'sapling_mempool.py', # ~ 98 sec
'sapling_wallet_persistence.py', # ~ 90 sec
'sapling_changeaddresses.py', # ~ 66 sec
'sapling_supply.py', # ~ 58 sec
'sapling_malleable_sigs.py', # ~ 44 sec
]

EXTENDED_SCRIPTS = [
Expand All @@ -207,48 +99,6 @@
]

LEGACY_SKIP_TESTS = [
# These tests are not run when the flag --legacywallet is used
'feature_block.py',
'feature_blockindexstats.py',
'feature_config_args.py',
'feature_help.py',
'feature_logging.py',
'feature_reindex.py',
'feature_proxy.py',
'feature_uacomment.py',
'interface_bitcoin_cli.py',
'interface_http.py',
'interface_rest.py',
'mempool_reorg.py',
'mempool_resurrect.py',
'mempool_spend_coinbase.py',
'p2p_disconnect_ban.py',
'p2p_time_offset.py',
'rpc_bip38.py',
'rpc_blockchain.py',
'rpc_budget.py',
'rpc_decodescript.py',
'rpc_fundrawtransaction.py',
'rpc_net.py',
'rpc_signmessage.py',
'rpc_spork.py',
'rpc_users.py',
'wallet_hd.py', # no HD tests for pre-HD wallets
'wallet_upgrade.py', # can't upgrade to pre-HD wallet
'sapling_supply.py',
'sapling_wallet_persistence.py',
'sapling_wallet_send.py',
'sapling_wallet.py',
'sapling_changeaddresses.py',
'sapling_key_import_export.py',
'sapling_wallet_anchorfork.py',
'sapling_wallet_listreceived.py',
'sapling_wallet_nullifiers.py',
'sapling_mempool.py',
'wallet_importmulti.py',
'wallet_import_rescan.py',
'wallet_multiwallet.py',
'sapling_wallet_encryption.py'
]

# Place the lists with the longest tests (on average) first
Expand Down

0 comments on commit 22a965f

Please sign in to comment.