Integration tests #4

Merged
realaravinth merged 9 commits from feat-integration-tests into master 2023-12-31 03:25:30 +05:30
3 changed files with 1 additions and 4 deletions
Showing only changes of commit ae6651e624 - Show all commits

View file

@ -14,13 +14,12 @@ steps:
image: python
commands:
- pip install -r requirements.txt
- nohup ./target/debug/main
- 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/tests.py
- python tests/test.py
build_docker_img:
image: plugins/docker

View file

@ -17,7 +17,6 @@
import json
import utils
from dcache import (
grpc_add_captcha,
grpc_add_vote,

View file

@ -17,7 +17,6 @@
from asyncio import sleep
import json
import utils
from dcache import grpc_add_challenge, grpc_get_challenge, grpc_delete_challenge
# 1. Check duplicate result