Skip to content

Commit 5da0114

Browse files
committed
move sleep into setup
1 parent fb426fe commit 5da0114

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/macos.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
run: |
2121
echo "### Dump default.local ###"
2222
cat /etc/cvmfs/default.local
23-
sleep 5
2423
echo "### Try to ls on /Users/Shared/cvmfs/sft.cern.ch/ ###"
2524
ls /Users/Shared/cvmfs/sft.cern.ch/ | grep lcg
2625
echo "### Try to ls on /cvmfs/sft.cern.ch/ ###"

setup-cvmfs.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,14 @@ elif [ "$(uname)" == "Darwin" ]; then
5353
brew tap cvmfs/homebrew-cvmfs
5454
brew install cvmfs
5555

56+
5657
# / is readonly on macos 11+ - do 'synthetic firmlink' to create /cvmfs
5758
sudo zsh -c 'echo -e "cvmfs\tUsers/Shared/cvmfs\n#comment\n" > /etc/synthetic.conf'
5859
sudo chown root:wheel /etc/synthetic.conf
5960
sudo chmod a+r /etc/synthetic.conf
6061
# apfs.util seems to return non-zero error codes also on success
6162
sudo /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -t || true
63+
6264
else
6365
echo "Unsupported platform"
6466
exit 1
@@ -83,4 +85,6 @@ if [ "$(uname)" == "Darwin" ]; then
8385
mkdir -p /Users/Shared/cvmfs/${repo}
8486
sudo mount -t cvmfs ${repo} /Users/Shared/cvmfs/${repo}
8587
done
88+
# Fuse-t can have a brief lag after mounting before the mountpoint responds
89+
sleep 3
8690
fi

0 commit comments

Comments
 (0)