Skip to content

Commit b3af5bd

Browse files
committed
[Tests] Sort test_runner list by execution time (and comment it there)
1 parent 2d7724a commit b3af5bd

File tree

1 file changed

+65
-66
lines changed

1 file changed

+65
-66
lines changed

test/functional/test_runner.py

Lines changed: 65 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -55,79 +55,78 @@
5555
BASE_SCRIPTS= [
5656
# Scripts that are run by the travis build process.
5757
# Longest test should go first, to favor running tests in parallel
58-
'wallet_basic.py',
59-
'wallet_backup.py',
58+
'wallet_basic.py', # ~ 1155 sec
59+
'wallet_backup.py', # ~ 459 sec
60+
'mining_pos_reorg.py', # ~ 305 sec
61+
'zerocoin_spends.py', # ~ 301 sec
6062

6163
# vv Tests less than 5m vv
62-
'wallet_abandonconflict.py',
63-
'mining_pos_reorg.py',
64-
'mining_pos_coldStaking.py',
65-
'rpc_rawtransaction.py',
66-
'wallet_zapwallettxes.py',
67-
'wallet_keypool_topup.py',
68-
'wallet_txn_doublespend.py --mineblock',
69-
'wallet_txn_clone.py --mineblock',
70-
'interface_rest.py',
71-
'feature_proxy.py',
72-
73-
'mining_pos_fakestake.py',
74-
'zerocoin_spends.py',
75-
#'zerocoin_wrapped_serials.py',
76-
#'feature_block.py',
77-
#'rpc_fundrawtransaction.py',
64+
'mining_pos_coldStaking.py', # ~ 289 sec
65+
'p2p_time_offset.py', # ~ 263 sec
66+
'wallet_abandonconflict.py', # ~ 208 sec
67+
'rpc_rawtransaction.py', # ~ 190 sec
68+
'wallet_zapwallettxes.py', # ~ 172 sec
69+
'wallet_keypool_topup.py', # ~ 167 sec
70+
'wallet_txn_doublespend.py --mineblock', # ~ 157 sec
71+
'wallet_txn_clone.py --mineblock', # ~ 157 sec
72+
'interface_rest.py', # ~ 154 sec
73+
'rpc_spork.py', # ~ 149 sec
74+
'feature_proxy.py', # ~ 143 sec
75+
'mining_pos_fakestake.py', # ~ 123 sec
7876

7977
# vv Tests less than 2m vv
80-
'feature_uacomment.py',
81-
'wallet_listreceivedby.py',
82-
'wallet_accounts.py',
83-
'wallet_dump.py',
84-
'rpc_listtransactions.py',
78+
'feature_uacomment.py', # ~ 130 sec
79+
'p2p_disconnect_ban.py', # ~ 118 sec
80+
'wallet_listreceivedby.py', # ~ 117 sec
81+
'feature_reindex.py', # ~ 110 sec
82+
'interface_http.py', # ~ 105 sec
83+
'rpc_listtransactions.py', # ~ 97 sec
84+
'mempool_reorg.py', # ~ 92 sec
85+
'wallet_encryption.py', # ~ 89 sec
86+
'wallet_keypool.py', # ~ 88 sec
87+
'wallet_dump.py', # ~ 83 sec
88+
'rpc_net.py', # ~ 83 sec
89+
'rpc_bip38.py', # ~ 82 sec
90+
'interface_bitcoin_cli.py', # ~ 80 sec
8591

8692
# vv Tests less than 60s vv
87-
#'wallet_importmulti.py',
88-
#'mempool_limit.py', # We currently don't limit our mempool_reorg
89-
'feature_reindex.py',
90-
'rpc_bip38.py',
93+
'wallet_accounts.py', # ~ 55 sec
94+
'mempool_resurrect.py', # ~ 51 sec
95+
'rpc_budget.py', # ~ 50 sec
96+
'mempool_spend_coinbase.py', # ~ 50 sec
97+
'rpc_signrawtransaction.py', # ~ 50 sec
98+
'rpc_decodescript.py', # ~ 50 sec
99+
'rpc_blockchain.py', # ~ 50 sec
100+
'wallet_disable.py', # ~ 50 sec
101+
'rpc_signmessage.py', # ~ 50 sec
102+
'feature_help.py', # ~ 30 sec
103+
104+
# 'zerocoin_wrapped_serials.py',
105+
# 'feature_block.py',
106+
# 'rpc_fundrawtransaction.py',
107+
# 'wallet_importmulti.py',
108+
# 'mempool_limit.py', # We currently don't limit our mempool_reorg
109+
# 'interface_zmq.py',
110+
# 'rpc_getchaintips.py',
111+
# 'mempool_persist.py',
112+
# 'rpc_users.py',
113+
# 'rpc_deprecated.py',
114+
# 'p2p_mempool.py',
115+
# 'mining_prioritisetransaction.py',
116+
# 'p2p_invalid_block.py',
117+
# 'p2p_invalid_tx.py',
118+
# 'wallet_import_rescan.py',
119+
# 'mining_basic.py',
120+
# 'wallet_bumpfee.py',
121+
# 'wallet_listsinceblock.py',
122+
# 'p2p_leak.py',
123+
# 'feature_cltv.py',
124+
# 'wallet_resendwallettransactions.py',
125+
# 'feature_minchainwork.py',
126+
# 'p2p_fingerprint.py',
127+
# 'p2p_unrequested_blocks.py',
128+
# 'feature_config_args.py',
91129

92-
# vv Tests less than 30s vv
93-
'rpc_spork.py',
94-
'rpc_budget.py',
95-
#'interface_zmq.py',
96-
'interface_bitcoin_cli.py',
97-
'mempool_resurrect.py',
98-
#'rpc_getchaintips.py',
99-
'mempool_spend_coinbase.py',
100-
'mempool_reorg.py',
101-
#'mempool_persist.py', # Not yet implemented
102-
'interface_http.py',
103-
#'rpc_users.py',
104-
'rpc_signrawtransaction.py',
105-
'p2p_disconnect_ban.py',
106-
'rpc_decodescript.py',
107-
'rpc_blockchain.py',
108-
#'rpc_deprecated.py',
109-
'wallet_disable.py',
110-
'rpc_net.py',
111-
'p2p_time_offset.py',
112-
'wallet_keypool.py',
113-
#'p2p_mempool.py',
114-
#'mining_prioritisetransaction.py',
115-
#'p2p_invalid_block.py',
116-
#'p2p_invalid_tx.py',
117-
'rpc_signmessage.py',
118-
#'wallet_import_rescan.py',
119-
#'mining_basic.py',
120-
#'wallet_bumpfee.py',
121-
#'wallet_listsinceblock.py',
122-
#'p2p_leak.py',
123-
'wallet_encryption.py',
124-
#'feature_cltv.py',
125-
#'wallet_resendwallettransactions.py',
126-
#'feature_minchainwork.py',
127-
#'p2p_fingerprint.py',
128-
#'p2p_unrequested_blocks.py',
129-
#'feature_config_args.py',
130-
'feature_help.py',
131130
# Don't append tests at the end to avoid merge conflicts
132131
# Put them in a random line within the section that fits their approximate run-time
133132
]

0 commit comments

Comments
 (0)