Skip to content

Commit 0d541cf

Browse files
authored
Merge pull request #131 from chaen/xrd_rewrite
Export XRD_WRITERECOVERY=0 to avoid file loss
2 parents eb2111d + 32ae09b commit 0d541cf

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed

.github/workflows/build-and-test.yml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,15 @@ jobs:
138138
- name: Run tests
139139
run: scripts/run_basic_tests.sh ${{ matrix.docker-image }} DIRACOS-*.sh
140140

141-
macos-tests:
142-
name: macOS tests
141+
macos-64-tests:
142+
name: macOS (x86_64) tests
143143
if: github.repository == 'DIRACGrid/DIRACOS2'
144144
needs: build-installer
145145
runs-on: ${{ matrix.os }}
146146
strategy:
147147
fail-fast: false
148148
matrix:
149-
os: [macos-11, macos-12]
149+
os: [macos-13]
150150
steps:
151151
- uses: actions/checkout@v3
152152
- name: Download installer
@@ -160,6 +160,28 @@ jobs:
160160
source diracos/diracosrc
161161
pip install DIRAC
162162
163+
macos-tests:
164+
name: macOS (arm64) tests
165+
if: github.repository == 'DIRACGrid/DIRACOS2'
166+
needs: build-installer
167+
runs-on: ${{ matrix.os }}
168+
strategy:
169+
fail-fast: false
170+
matrix:
171+
os: [macos-14, macos-15]
172+
steps:
173+
- uses: actions/checkout@v3
174+
- name: Download installer
175+
uses: actions/download-artifact@v3
176+
with:
177+
name: installer-osx-arm64
178+
- name: Run tests
179+
run: |
180+
bash DIRACOS-*.sh
181+
set -x
182+
source diracos/diracosrc
183+
pip install DIRAC
184+
163185
integration-tests-client-and-server:
164186
name: Integration tests (Py3 server)
165187
if: github.repository == 'DIRACGrid/DIRACOS2'

create_diracosrc.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
echo '# in setups like EOS'
2525
echo 'export DAVIX_DISABLE_REDIRECT_CACHING=1'
2626
echo ''
27+
echo '# XROOTD options to avoid internal retry leading to lost files'
28+
echo '# https://its.cern.ch/jira/browse/EOS-6195'
29+
echo 'export XRD_WRITERECOVERY=0'
30+
echo ''
2731
echo '# Set up the X509 variables'
2832
echo ''
2933
echo '# Function check if folder exist and contains files'

0 commit comments

Comments
 (0)