Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
453d474b
Commit
453d474b
authored
5 years ago
by
Julien Leduc
Browse files
Options
Downloads
Patches
Plain Diff
Fix the broken basic test that always timedout because testFile existed
parent
4c6fbed1
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#32544
failed
2 years ago
Stage: build:srpm
Stage: build:rpm
Stage: sign
Stage: publish
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh
+5
-1
5 additions, 1 deletion
...egration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh
with
5 additions
and
1 deletion
continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh
+
5
−
1
View file @
453d474b
...
...
@@ -208,7 +208,11 @@ fi
echo
"Waiting for the basic file transfer test to succeed (workaround for the booted/online issue )"
for
((
i
=
0
;
i<300
;
i++
))
;
do
xrdcp /etc/group root://
${
eoshost
}
:/
${
EOS_TMP_DIR
}
/testFile
&&
break
# xrdcp --force to overwrite testFile if it was already created in the previous loop
# but xrdcp failed for another reason
xrdcp
--force
/etc/group root://
${
eoshost
}
:/
${
EOS_TMP_DIR
}
/testFile
&&
break
# If the file exists the loop exited on a successfull xrdcp, otherwise it exited upon timeout and all xrdcp failed
eos
rm
${
EOS_TMP_DIR
}
/testFile
echo
-n
"."
sleep
1
done
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment