Skip to content

Commit e2184cc

Browse files
committed
Reorder RPC tests for running time
1 parent 2efcfa5 commit e2184cc

File tree

1 file changed

+32
-23
lines changed

1 file changed

+32
-23
lines changed

qa/pull-tester/rpc-tests.py

Lines changed: 32 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -100,78 +100,87 @@
100100

101101
testScripts = [
102102
# longest test should go first, to favor running tests in parallel
103-
'p2p-fullblocktest.py',
103+
'wallet-hd.py',
104104
'walletbackup.py',
105-
'bip68-112-113-p2p.py',
105+
# vv Tests less than 5m vv
106+
'p2p-fullblocktest.py',
107+
'fundrawtransaction.py',
108+
'p2p-compactblocks.py',
109+
'segwit.py',
110+
# vv Tests less than 2m vv
106111
'wallet.py',
107112
'wallet-accounts.py',
108-
'wallet-hd.py',
113+
'p2p-segwit.py',
109114
'wallet-dump.py',
110115
'listtransactions.py',
116+
# vv Tests less than 60s vv
117+
'sendheaders.py',
118+
'zapwallettxes.py',
119+
'importmulti.py',
120+
'mempool_limit.py',
121+
'merkle_blocks.py',
111122
'receivedby.py',
123+
'abandonconflict.py',
124+
'bip68-112-113-p2p.py',
125+
'rawtransactions.py',
126+
'reindex.py',
127+
# vv Tests less than 30s vv
112128
'mempool_resurrect_test.py',
113129
'txn_doublespend.py --mineblock',
114-
'p2p-segwit.py',
115-
'segwit.py',
116130
'txn_clone.py',
117131
'getchaintips.py',
118-
'rawtransactions.py',
119132
'rest.py',
120133
'mempool_spendcoinbase.py',
121134
'mempool_reorg.py',
122-
'mempool_limit.py',
123135
'httpbasics.py',
124136
'multi_rpc.py',
125-
'zapwallettxes.py',
126137
'proxy_test.py',
127-
'merkle_blocks.py',
128-
'fundrawtransaction.py',
129138
'signrawtransactions.py',
130139
'nodehandling.py',
131-
'reindex.py',
132140
'decodescript.py',
133141
'blockchain.py',
134142
'disablewallet.py',
135-
'sendheaders.py',
136143
'keypool.py',
137144
'p2p-mempool.py',
138145
'prioritise_transaction.py',
139146
'invalidblockrequest.py',
140147
'invalidtxrequest.py',
141-
'abandonconflict.py',
142148
'p2p-versionbits-warning.py',
143149
'preciousblock.py',
144150
'importprunedfunds.py',
145151
'signmessages.py',
146-
'p2p-compactblocks.py',
147152
'nulldummy.py',
148-
'importmulti.py',
149153
]
150154
if ENABLE_ZMQ:
151155
testScripts.append('zmq_test.py')
152156

153157
testScriptsExt = [
158+
'pruning.py',
159+
# vv Tests less than 20m vv
160+
'smartfees.py',
161+
# vv Tests less than 5m vv
162+
'maxuploadtarget.py',
163+
'mempool_packages.py',
164+
# vv Tests less than 2m vv
165+
'bip68-sequence.py',
166+
'getblocktemplate_longpoll.py',
167+
# vv Tests less than 60s vv
154168
'bip9-softforks.py',
169+
'p2p-feefilter.py',
170+
'rpcbind_test.py',
171+
# vv Tests less than 30s vv
155172
'bip65-cltv.py',
156173
'bip65-cltv-p2p.py',
157-
'bip68-sequence.py',
158174
'bipdersig-p2p.py',
159175
'bipdersig.py',
160-
'getblocktemplate_longpoll.py',
161176
'getblocktemplate_proposals.py',
162177
'txn_doublespend.py',
163178
'txn_clone.py --mineblock',
164179
'forknotify.py',
165180
'invalidateblock.py',
166-
'rpcbind_test.py',
167-
'smartfees.py',
168181
'maxblocksinflight.py',
169182
'p2p-acceptblock.py',
170-
'mempool_packages.py',
171-
'maxuploadtarget.py',
172183
'replace-by-fee.py',
173-
'p2p-feefilter.py',
174-
'pruning.py', # leave pruning last as it takes a REALLY long time
175184
]
176185

177186

0 commit comments

Comments
 (0)