Remove any stray socket files before creating new ones

This commit is contained in:
Robin McCorkell 2016-04-05 07:30:17 +01:00 committed by Thomas Müller
parent 808a25bc5d
commit d47824f4cf
2 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ fi;
# create readiness notification socket
notify_sock=$(readlink -f "$thisFolder"/dockerContainerCeph.$EXECUTOR_NUMBER.amazons3.sock)
rm -f "$notify_sock" # in case an unfinished test left one behind
mkfifo "$notify_sock"
user=test

View File

@ -33,6 +33,7 @@ fi;
# create readiness notification socket
notify_sock=$(readlink -f "$thisFolder"/dockerContainerCeph.$EXECUTOR_NUMBER.swift.sock)
rm -f "$notify_sock" # in case an unfinished test left one behind
mkfifo "$notify_sock"
port=5001