-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: split el9 wn initialization from s2 tests
(cherry picked from commit cce2da5) Signed-off-by: Tigran Mkrtchyan <[email protected]>
- Loading branch information
Showing
3 changed files
with
33 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/sh | ||
|
||
. /init-el9-ui.sh | ||
|
||
# SLEEP_SOR is the sleep-time when polling an SRM GetStatusOf...Request | ||
export SLEEP_SOR=2 | ||
export S2_SUPRESS_PROGRESS=1 | ||
|
||
export SRM_HOST=store-door-svc.$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace).svc.cluster.local | ||
export SRM_PORT=8443 | ||
export SRM_DATAPATH=/data/s2 | ||
export SRM_ENDPOINT="srm://${SRM_HOST}:${SRM_PORT}/srm/managerv2?SFN=${SRM_DATAPATH}" | ||
|
||
# s3 test depends on needs USER env to be set | ||
export USER=dcache-ci | ||
|
||
RC=0 | ||
for i in /usr/share/s2/testing/scripts/protos/srm/2.2/{avail,basic,usecase} | ||
do | ||
S2_LOGS_DIR=/ /usr/bin/xrunner.py -d $i | ||
if [ $? -ne 0 ]; then | ||
RC=1 | ||
fi | ||
done | ||
exit $RC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters