Removed buggy check from QA
Reviewers: buda, mislav.bradac Reviewed By: mislav.bradac Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D796
This commit is contained in:
parent
b31478dfd8
commit
a14f8c6516
11
tests/qa/run
11
tests/qa/run
@ -73,18 +73,11 @@ background_pid=$!
|
|||||||
|
|
||||||
function cleanup_and_exit {
|
function cleanup_and_exit {
|
||||||
kill -9 $background_pid
|
kill -9 $background_pid
|
||||||
|
sleep 2
|
||||||
exit $1
|
exit $1
|
||||||
}
|
}
|
||||||
|
|
||||||
sleep 1
|
sleep 2
|
||||||
|
|
||||||
ps -p $background_pid > /dev/null
|
|
||||||
if [[ $? -ne 0 ]]; then
|
|
||||||
echo "Starting memgraph failed."
|
|
||||||
echo "Perhaps you forgot to build Memgraph before running this script, "
|
|
||||||
echo "or another program uses same port!"
|
|
||||||
cleanup_and_exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
python3 tck_engine/test_executor.py $tck_flags
|
python3 tck_engine/test_executor.py $tck_flags
|
||||||
cleanup_and_exit $?
|
cleanup_and_exit $?
|
||||||
|
Loading…
Reference in New Issue
Block a user