mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-22 11:29:23 +00:00
CI: New config for the sync test
This commit is contained in:
parent
08384156e4
commit
9c3b8ef3a7
2 changed files with 15 additions and 7 deletions
14
.github/workflows/test-sync.yml
vendored
14
.github/workflows/test-sync.yml
vendored
|
@ -68,7 +68,7 @@ jobs:
|
||||||
python ../tests/src/mm_server.py 8001 id1 data1 &
|
python ../tests/src/mm_server.py 8001 id1 data1 &
|
||||||
python ../tests/src/mm_server.py 8002 id2 data2 &
|
python ../tests/src/mm_server.py 8002 id2 data2 &
|
||||||
sudo sysctl vm.mmap_rnd_bits=28
|
sudo sysctl vm.mmap_rnd_bits=28
|
||||||
TSAN_OPTIONS="suppressions=../tests/src/tsan_sup.txt halt_on_error=1" ./p2pool ${{ secrets.TESTNET_NODE_PARAMS }} --wallet 9y9HUSpSZX7j2J5UUngX5nCRezR6mZfLmL2D5JXpmPjYVDCPCCcw6Tab2R55xqPTN2FoQEEDmz99TVdy9EW74mqMUw5xRun --data-api data --local-api --merge-mine 127.0.0.1:8000 test0 --merge-mine 127.0.0.1:8001 test1 --merge-mine 127.0.0.1:8002 test2 --loglevel 6
|
TSAN_OPTIONS="suppressions=../tests/src/tsan_sup.txt halt_on_error=1" ./p2pool ${{ secrets.TESTNET_NODE_PARAMS }} --config ../tests/src/mm_test_config.json --wallet 9y9HUSpSZX7j2J5UUngX5nCRezR6mZfLmL2D5JXpmPjYVDCPCCcw6Tab2R55xqPTN2FoQEEDmz99TVdy9EW74mqMUw5xRun --data-api data --local-api --merge-mine 127.0.0.1:8000 test0 --merge-mine 127.0.0.1:8001 test1 --merge-mine 127.0.0.1:8002 test2 --loglevel 6
|
||||||
|
|
||||||
- name: Check p2pool.log
|
- name: Check p2pool.log
|
||||||
run: |
|
run: |
|
||||||
|
@ -157,7 +157,7 @@ jobs:
|
||||||
python ../tests/src/mm_server.py 8001 id1 data1 &
|
python ../tests/src/mm_server.py 8001 id1 data1 &
|
||||||
python ../tests/src/mm_server.py 8002 id2 data2 &
|
python ../tests/src/mm_server.py 8002 id2 data2 &
|
||||||
sudo sysctl vm.mmap_rnd_bits=28
|
sudo sysctl vm.mmap_rnd_bits=28
|
||||||
MSAN_OPTIONS="halt_on_error=1" ./p2pool ${{ secrets.TESTNET_NODE_PARAMS }} --wallet 9y9HUSpSZX7j2J5UUngX5nCRezR6mZfLmL2D5JXpmPjYVDCPCCcw6Tab2R55xqPTN2FoQEEDmz99TVdy9EW74mqMUw5xRun --data-api data --local-api --merge-mine 127.0.0.1:8000 test0 --merge-mine 127.0.0.1:8001 test1 --merge-mine 127.0.0.1:8002 test2 --loglevel 6
|
MSAN_OPTIONS="halt_on_error=1" ./p2pool ${{ secrets.TESTNET_NODE_PARAMS }} --config ../tests/src/mm_test_config.json --wallet 9y9HUSpSZX7j2J5UUngX5nCRezR6mZfLmL2D5JXpmPjYVDCPCCcw6Tab2R55xqPTN2FoQEEDmz99TVdy9EW74mqMUw5xRun --data-api data --local-api --merge-mine 127.0.0.1:8000 test0 --merge-mine 127.0.0.1:8001 test1 --merge-mine 127.0.0.1:8002 test2 --loglevel 6
|
||||||
|
|
||||||
- name: Check p2pool.log
|
- name: Check p2pool.log
|
||||||
run: |
|
run: |
|
||||||
|
@ -207,7 +207,7 @@ jobs:
|
||||||
python ../tests/src/mm_server.py 8001 id1 data1 &
|
python ../tests/src/mm_server.py 8001 id1 data1 &
|
||||||
python ../tests/src/mm_server.py 8002 id2 data2 &
|
python ../tests/src/mm_server.py 8002 id2 data2 &
|
||||||
sudo sysctl vm.mmap_rnd_bits=28
|
sudo sysctl vm.mmap_rnd_bits=28
|
||||||
UBSAN_OPTIONS="suppressions=../tests/src/ubsan_sup.txt halt_on_error=1" ./p2pool ${{ secrets.TESTNET_NODE_PARAMS }} --wallet 9y9HUSpSZX7j2J5UUngX5nCRezR6mZfLmL2D5JXpmPjYVDCPCCcw6Tab2R55xqPTN2FoQEEDmz99TVdy9EW74mqMUw5xRun --data-api data --local-api --merge-mine 127.0.0.1:8000 test0 --merge-mine 127.0.0.1:8001 test1 --merge-mine 127.0.0.1:8002 test2 --loglevel 6
|
UBSAN_OPTIONS="suppressions=../tests/src/ubsan_sup.txt halt_on_error=1" ./p2pool ${{ secrets.TESTNET_NODE_PARAMS }} --config ../tests/src/mm_test_config.json --wallet 9y9HUSpSZX7j2J5UUngX5nCRezR6mZfLmL2D5JXpmPjYVDCPCCcw6Tab2R55xqPTN2FoQEEDmz99TVdy9EW74mqMUw5xRun --data-api data --local-api --merge-mine 127.0.0.1:8000 test0 --merge-mine 127.0.0.1:8001 test1 --merge-mine 127.0.0.1:8002 test2 --loglevel 6
|
||||||
|
|
||||||
- name: Check p2pool.log
|
- name: Check p2pool.log
|
||||||
run: |
|
run: |
|
||||||
|
@ -257,7 +257,7 @@ jobs:
|
||||||
python ../tests/src/mm_server.py 8001 id1 data1 &
|
python ../tests/src/mm_server.py 8001 id1 data1 &
|
||||||
python ../tests/src/mm_server.py 8002 id2 data2 &
|
python ../tests/src/mm_server.py 8002 id2 data2 &
|
||||||
sudo sysctl vm.mmap_rnd_bits=28
|
sudo sysctl vm.mmap_rnd_bits=28
|
||||||
ASAN_OPTIONS="detect_stack_use_after_return=1 atexit=1" ./p2pool ${{ secrets.TESTNET_NODE_PARAMS }} --wallet 9y9HUSpSZX7j2J5UUngX5nCRezR6mZfLmL2D5JXpmPjYVDCPCCcw6Tab2R55xqPTN2FoQEEDmz99TVdy9EW74mqMUw5xRun --data-api data --local-api --merge-mine 127.0.0.1:8000 test0 --merge-mine 127.0.0.1:8001 test1 --merge-mine 127.0.0.1:8002 test2 --loglevel 6
|
ASAN_OPTIONS="detect_stack_use_after_return=1 atexit=1" ./p2pool ${{ secrets.TESTNET_NODE_PARAMS }} --config ../tests/src/mm_test_config.json --wallet 9y9HUSpSZX7j2J5UUngX5nCRezR6mZfLmL2D5JXpmPjYVDCPCCcw6Tab2R55xqPTN2FoQEEDmz99TVdy9EW74mqMUw5xRun --data-api data --local-api --merge-mine 127.0.0.1:8000 test0 --merge-mine 127.0.0.1:8001 test1 --merge-mine 127.0.0.1:8002 test2 --loglevel 6
|
||||||
|
|
||||||
- name: Check p2pool.log
|
- name: Check p2pool.log
|
||||||
run: |
|
run: |
|
||||||
|
@ -334,7 +334,7 @@ jobs:
|
||||||
python3 ../tests/src/mm_server.py 8000 id0 data0 &
|
python3 ../tests/src/mm_server.py 8000 id0 data0 &
|
||||||
python3 ../tests/src/mm_server.py 8001 id1 data1 &
|
python3 ../tests/src/mm_server.py 8001 id1 data1 &
|
||||||
python3 ../tests/src/mm_server.py 8002 id2 data2 &
|
python3 ../tests/src/mm_server.py 8002 id2 data2 &
|
||||||
./p2pool ${{ secrets.TESTNET_NODE_PARAMS }} --wallet 9y9HUSpSZX7j2J5UUngX5nCRezR6mZfLmL2D5JXpmPjYVDCPCCcw6Tab2R55xqPTN2FoQEEDmz99TVdy9EW74mqMUw5xRun --data-api data --local-api --merge-mine 127.0.0.1:8000 test0 --merge-mine 127.0.0.1:8001 test1 --merge-mine 127.0.0.1:8002 test2 --loglevel 6
|
./p2pool ${{ secrets.TESTNET_NODE_PARAMS }} --config ../tests/src/mm_test_config.json --wallet 9y9HUSpSZX7j2J5UUngX5nCRezR6mZfLmL2D5JXpmPjYVDCPCCcw6Tab2R55xqPTN2FoQEEDmz99TVdy9EW74mqMUw5xRun --data-api data --local-api --merge-mine 127.0.0.1:8000 test0 --merge-mine 127.0.0.1:8001 test1 --merge-mine 127.0.0.1:8002 test2 --loglevel 6
|
||||||
|
|
||||||
- name: Check p2pool.log
|
- name: Check p2pool.log
|
||||||
run: |
|
run: |
|
||||||
|
@ -382,7 +382,7 @@ jobs:
|
||||||
start python ../../tests/src/mm_server.py 8000 id0 data0 &
|
start python ../../tests/src/mm_server.py 8000 id0 data0 &
|
||||||
start python ../../tests/src/mm_server.py 8001 id1 data1 &
|
start python ../../tests/src/mm_server.py 8001 id1 data1 &
|
||||||
start python ../../tests/src/mm_server.py 8002 id2 data2 &
|
start python ../../tests/src/mm_server.py 8002 id2 data2 &
|
||||||
p2pool.exe ${{ secrets.TESTNET_NODE_PARAMS }} --wallet 9y9HUSpSZX7j2J5UUngX5nCRezR6mZfLmL2D5JXpmPjYVDCPCCcw6Tab2R55xqPTN2FoQEEDmz99TVdy9EW74mqMUw5xRun --data-api data --local-api --merge-mine 127.0.0.1:8000 test0 --merge-mine 127.0.0.1:8001 test1 --merge-mine 127.0.0.1:8002 test2 --loglevel 6
|
p2pool.exe ${{ secrets.TESTNET_NODE_PARAMS }} --config ../../tests/src/mm_test_config.json --wallet 9y9HUSpSZX7j2J5UUngX5nCRezR6mZfLmL2D5JXpmPjYVDCPCCcw6Tab2R55xqPTN2FoQEEDmz99TVdy9EW74mqMUw5xRun --data-api data --local-api --merge-mine 127.0.0.1:8000 test0 --merge-mine 127.0.0.1:8001 test1 --merge-mine 127.0.0.1:8002 test2 --loglevel 6
|
||||||
|
|
||||||
- name: Check p2pool.log
|
- name: Check p2pool.log
|
||||||
run: |
|
run: |
|
||||||
|
@ -428,7 +428,7 @@ jobs:
|
||||||
Start-Process python -ArgumentList "../../tests/src/mm_server.py 8000 id0 data0"
|
Start-Process python -ArgumentList "../../tests/src/mm_server.py 8000 id0 data0"
|
||||||
Start-Process python -ArgumentList "../../tests/src/mm_server.py 8001 id1 data1"
|
Start-Process python -ArgumentList "../../tests/src/mm_server.py 8001 id1 data1"
|
||||||
Start-Process python -ArgumentList "../../tests/src/mm_server.py 8002 id2 data2"
|
Start-Process python -ArgumentList "../../tests/src/mm_server.py 8002 id2 data2"
|
||||||
./p2pool.exe ${{ secrets.TESTNET_NODE_PARAMS }} --wallet 9y9HUSpSZX7j2J5UUngX5nCRezR6mZfLmL2D5JXpmPjYVDCPCCcw6Tab2R55xqPTN2FoQEEDmz99TVdy9EW74mqMUw5xRun --data-api data --local-api --merge-mine 127.0.0.1:8000 test0 --merge-mine 127.0.0.1:8001 test1 --merge-mine 127.0.0.1:8002 test2 --loglevel 6
|
./p2pool.exe ${{ secrets.TESTNET_NODE_PARAMS }} --config ../../tests/src/mm_test_config.json --wallet 9y9HUSpSZX7j2J5UUngX5nCRezR6mZfLmL2D5JXpmPjYVDCPCCcw6Tab2R55xqPTN2FoQEEDmz99TVdy9EW74mqMUw5xRun --data-api data --local-api --merge-mine 127.0.0.1:8000 test0 --merge-mine 127.0.0.1:8001 test1 --merge-mine 127.0.0.1:8002 test2 --loglevel 6
|
||||||
|
|
||||||
- name: Check p2pool.log
|
- name: Check p2pool.log
|
||||||
run: |
|
run: |
|
||||||
|
|
8
tests/src/mm_test_config.json
Normal file
8
tests/src/mm_test_config.json
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"name": "mm_test",
|
||||||
|
"password": "",
|
||||||
|
"block_time": 10,
|
||||||
|
"min_diff": 100000,
|
||||||
|
"pplns_window": 216,
|
||||||
|
"uncle_penalty": 20
|
||||||
|
}
|
Loading…
Reference in a new issue