Added `test.sh` to perform tests, including requirmentes installation
This commit is contained in:
parent
aead44cefa
commit
837417273d
15
test.sh
15
test.sh
|
@ -1,14 +1,3 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
pip install -r tests/requirements-test.txt
|
||||||
export BASE="http://conductorserver:8080"
|
python -m pytest
|
||||||
|
|
||||||
echo 'Waiting for Conductor ...'
|
|
||||||
|
|
||||||
while [[ "$(curl -s -o /dev/null -L -w ''%{http_code}'' $BASE/health)" != 200 ]]; do
|
|
||||||
echo 'still waiting ...'
|
|
||||||
sleep 5
|
|
||||||
done
|
|
||||||
|
|
||||||
echo 'Starting default workers...'
|
|
||||||
|
|
||||||
python3 PyExec.py Http Shell Eval Mail
|
|
Loading…
Reference in New Issue