Open kirillt opened 2 years ago
Maybe it's possible to inject docker-netem into all Docker containers and configure it from top-level Polkadot-Lab config.
This is how to display running nodes:
sudo docker exec -it e2e-test-control-plane /bin/bash
kubectl --kubeconfig=/etc/kubernetes/scheduler.conf get pods | grep polkadot-.-0
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
This issue now has a funding of 0.007 BTC (310.62 USD @ $44374.21/BTC) attached to it.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
The funding of 0.007 BTC (303.79 USD @ $30379.0/BTC) attached to this issue has been cancelled by the bounty submitter
One of declared goals of this project is possibility to inject latency or network failures:
However, it still seems to be not implemented.
For the start, it would be enough to handle
latency
entry in config (seeconfig/main.sample.yaml
) with numeric value in milliseconds. If this entry is present, then network latency between any 2 of spawned nodes must be equal to specified value. I suspect this might be easily achievable by tweaking Helm/Kubernetes/Docker configs.The solution must also contain basic test case demonstrating the feature, or instruction how to verify the solution.