Integration tests #4
3 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
import json
|
||||
|
||||
import utils
|
||||
from dcache import (
|
||||
grpc_add_captcha,
|
||||
grpc_add_vote,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue