Svarog a7299c1b87
Add stability tests (#1587)
* Add stability-tests

* Fix requires

* Fix golint errors

* Update README.md

* Remove payloadHash from everywhere

* don't run vet on kaspad in stability-tests/install_and_test
2021-03-09 15:01:08 +02:00

14 lines
237 B
Bash
Executable File

#!/bin/bash
set -e
simple-sync --simnet -n=1000 --profile=7000
TEST_EXIT_CODE=$?
echo "Exit code: $TEST_EXIT_CODE"
if [ $TEST_EXIT_CODE -eq 0 ]; then
echo "simple-sync test: PASSED"
exit 0
fi
echo "simple-sync test: FAILED"
exit 1