full schleuder test: Run a second time, should not cause any changes

This commit is contained in:
s3lph 2022-04-17 01:17:36 +02:00
parent 235603e715
commit d575f77956

View file

@ -63,6 +63,8 @@ schleuder:
- pip3 install -e . - pip3 install -e .
- python3 -c 'import os; print(os.listdir(".")); print(); print(os.listdir("test/"))' - python3 -c 'import os; print(os.listdir(".")); print(); print(os.listdir("test/"))'
- python3 -m coverage run --rcfile=setup.cfg -m multischleuder --config test/multischleuder.yml --verbose - python3 -m coverage run --rcfile=setup.cfg -m multischleuder --config test/multischleuder.yml --verbose
# Run a second time - should be idempotent and not trigger any new mails
- python3 -m coverage run --rcfile=setup.cfg -m multischleuder --config test/multischleuder.yml --verbose
- sleep 5 # wait for mail delivery - sleep 5 # wait for mail delivery
- test/report.sh - test/report.sh
- kill -9 ${API_DAEMON_PID} || true - kill -9 ${API_DAEMON_PID} || true