Commit bdb8f771 authored by Andreas Schmidt's avatar Andreas Schmidt

Remove concurrency test again.

parent acc1a9fd
Pipeline #2670 failed with stages
in 40 seconds
......@@ -47,15 +47,6 @@ test:prrt_mem:
script:
- bash tests/memtest.sh
test:prrt_concurrency:
stage: test
dependencies:
- build:prrt
tags:
- valgrind
script:
- bash tests/concurrencytest.sh
test:prrt_functional:
stage: test
dependencies:
......@@ -87,4 +78,4 @@ deploy:pypi:
- echo "username=$PYPI_USER" >> ~/.pypirc
- echo "password=$PYPI_PASSWORD" >> ~/.pypirc
- python3 setup.py check sdist bdist upload -r on
- rm -vf ~/.pypirc
\ No newline at end of file
- rm -vf ~/.pypirc
#!/usr/bin/env bash
which valgrind
check() {
#echo "CHECK $1 $2"
if [ "$1" -ne 0 ]; then
echo >&2 "$2"
exit $1
fi
}
to="timeout -s INT 30 "
valgrind="valgrind --tool=helgrind --error-exitcode=1"
$to $valgrind ./receiver -p 5000 -r 127 -o receiver.csv &
$to $valgrind ./sender -t 127.0.0.1 -p 5000 -r 127 -o sender.csv
check "$?" "sender failed"
wait
check "$?" "receiver failed"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment