Integration tests #4

Merged
realaravinth merged 9 commits from feat-integration-tests into master 2023-12-31 03:25:30 +05:30
Showing only changes of commit f47c0867d3 - Show all commits

View file

@ -13,13 +13,14 @@ steps:
integration_tests:
image: python
commands:
- pip install -r requirements.txt
- pip install virtualenv
- . venv/bin/activate && pip install -r requirements.txt
- nohup ./target/debug/main --id 1 --http-addr 127.0.0.1:9001 --introducer-addr 127.0.0.1:9001 --introducer-id 1 --cluster-size 3 &
- sleep 1
- nohup ./target/debug/main --id 2 --http-addr 127.0.0.1:9002 --introducer-addr 127.0.0.1:9001 --introducer-id 1 --cluster-size 3 &
- sleep 1
- nohup ./target/debug/main --id 3 --http-addr 127.0.0.1:9003 --introducer-addr 127.0.0.1:9001 --introducer-id 1 --cluster-size 3 &
- python tests/test.py
- . venv/bin/activate && python tests/test.py
build_docker_img:
image: plugins/docker