BOXFoundation / boxd

Blockchain for BOX Payout
MIT License
40 stars 10 forks source link

Network partition test in CI #192

Closed xhliu closed 5 years ago

xhliu commented 5 years ago

Partition the network into two parts, e.g., change from testnet to mainnet, and then merge them, and ensure they are back to normal.

Make a boolean flag in integration test to only run this kind of heavy operation when the flag is set.

Jerick26 commented 5 years ago

finish on 29482e693426ad2a835eff4ae9656d8796b3b2b4

Jerick26 commented 5 years ago
usage:
- http --json http://127.0.0.1:19190/v1/ctl/networkid id=1234
- ./box ctl networkid 1234
Jerick26 commented 5 years ago

testnet: 1413829460