Revert #780 (don't kill FRC_NetCommDaemon). (#795)

This commit reverts commit 0f3f5218ad.
This commit is contained in:
Peter Johnson
2017-12-01 23:47:01 -08:00
committed by GitHub
parent 9d2393f97e
commit 2a69a4c7dc

View File

@@ -14,12 +14,12 @@ source config.sh
printf "Getting exclusive lock for RIO execution...\n"
flock -x 200 || exit 1
# To work around memory leak, kill NetComm and ensure the teststand is dead too
SSH_RESTART_NETCOMM="ssh -t ${ROBOT_ADDRESS} sh -c '/etc/init.d/teststand stop; sleep 1; killall FRC_NetCommDaemon; sleep 1'"
# Ensure the teststand is dead
SSH_STOP_TESTSTAND="ssh -t ${ROBOT_ADDRESS} sh -c '/etc/init.d/teststand stop; sleep 1'"
if [ $(which sshpass) ]; then
sshpass -p "" ${SSH_RESTART_NETCOMM}
sshpass -p "" ${SSH_STOP_TESTSTAND}
else
eval ${SSH_RESTART_NETCOMM}
eval ${SSH_STOP_TESTSTAND}
fi
# If there are already test results in the repository then remove them