Skip to content

Commit

Permalink
integration: run tests in parallel (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
lupin012 authored Jan 17, 2025
1 parent fe604bd commit b6c3879
Show file tree
Hide file tree
Showing 2 changed files with 124 additions and 100 deletions.
15 changes: 8 additions & 7 deletions integration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,49 +64,50 @@ Launch an automated test sequence on Silkworm RpcDaemon (aka Silkrpc) or Erigon
-e,--verify-external-provider: <provider_url> send any request also to external API endpoint as reference
-i,--without-compare-results: send request without compare results
-w,--waiting_time: waiting after test execution (millisec)
-S,--serial: runs tests in serial way
```

# Invoke examples

```
./run_tests.py -b mainnet -d -c -v 1
./run_tests.py -d -c -v 1
```

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

```
./run_tests.py -b mainnet -c -v 1
./run_tests.py -c -v 1
```

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

```
./run_tests.py -b mainnet -c -a eth_call
./run_tests.py -c -A eth_call
```

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

```
./run_tests.py -b mainnet -r -c -a eth_call -t 1
./run_tests.py -r -c -A eth_call -t 1
```

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

```
./run_tests.py -b mainnet -r -c -t 20 -v 1
./run_tests.py -r -c -t 20 -v 1
```

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

```
./run_tests.py -b mainnet -d -c -X 20 -v 1
./run_tests.py -d -c -X 20 -v 1
```

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

```
./run_tests.py -b mainnet -d -c -x eth_call -v 1
./run_tests.py -d -c -x eth_call -v 1
```


Expand Down
Loading

0 comments on commit b6c3879

Please sign in to comment.