Commit bdb8f771 authored by Andreas Schmidt's avatar Andreas Schmidt
Browse files

Remove concurrency test again.

parent acc1a9fd
Loading
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -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:

tests/concurrencytest.sh

deleted100644 → 0
+0 −22
Original line number Diff line number Diff line
#!/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"