Skip to content

Commit b6c3879

Browse files
authoredJan 17, 2025
integration: run tests in parallel (#316)
1 parent fe604bd commit b6c3879

File tree

2 files changed

+124
-100
lines changed

2 files changed

+124
-100
lines changed
 

‎integration/README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -64,49 +64,50 @@ Launch an automated test sequence on Silkworm RpcDaemon (aka Silkrpc) or Erigon
6464
-e,--verify-external-provider: <provider_url> send any request also to external API endpoint as reference
6565
-i,--without-compare-results: send request without compare results
6666
-w,--waiting_time: waiting after test execution (millisec)
67+
-S,--serial: runs tests in serial way
6768
6869
```
6970

7071
# Invoke examples
7172

7273
```
73-
./run_tests.py -b mainnet -d -c -v 1
74+
./run_tests.py -d -c -v 1
7475
```
7576

7677
Runs all tests on main net chain comparing Silkrpc response with rpcdaemon response, printing each test result
7778

7879
```
79-
./run_tests.py -b mainnet -c -v 1
80+
./run_tests.py -c -v 1
8081
```
8182

8283
Runs all tests on main net chain comparing silkrpc response to response saved on json file, printing each test result
8384

8485
```
85-
./run_tests.py -b mainnet -c -a eth_call
86+
./run_tests.py -c -A eth_call
8687
```
8788

8889
Runs all tests of eth_call on main net chain comparing silkrpc response with saved json file, printing only failed tests
8990

9091
```
91-
./run_tests.py -b mainnet -r -c -a eth_call -t 1
92+
./run_tests.py -r -c -A eth_call -t 1
9293
```
9394

9495
Runs test 1 of eth_call on main net chain comparing rpcdaemon response to saved json file, printing only failed tests
9596

9697
```
97-
./run_tests.py -b mainnet -r -c -t 20 -v 1
98+
./run_tests.py -r -c -t 20 -v 1
9899
```
99100

100101
Runs test number 20 in main net chain using rpcdaemon and compare result with json file, printing each test result
101102

102103
```
103-
./run_tests.py -b mainnet -d -c -X 20 -v 1
104+
./run_tests.py -d -c -X 20 -v 1
104105
```
105106

106107
Runs all tests (excluding test number 20) on main net chain comparing silkrpc response with rpcdaemon response, printing each test result
107108

108109
```
109-
./run_tests.py -b mainnet -d -c -x eth_call -v 1
110+
./run_tests.py -d -c -x eth_call -v 1
110111
```
111112

112113

0 commit comments

Comments
 (0)
Please sign in to comment.