Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix: Disable loadtest on test/temp rses #646

Merged
merged 1 commit into from
Nov 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docker/CMSRucioClient/scripts/CMSRSE.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ def __init__(self, json, dry=False, cms_type='real', deterministic=True):
self.rse_name = json['rse']+"_Temp"
else:
self.rse_name = json['rse']
if json.get('loadtest', None) is not None:
self.attrs['loadtest'] = json['loadtest']

self._get_attributes()
self.attrs['fts'] = ','.join(json['fts'])

if json.get('loadtest', None) is not None:
self.attrs['loadtest'] = json['loadtest']

"""
Parses either a prefix or a pfn within a rule in the storage.json
Expand Down Expand Up @@ -335,7 +335,7 @@ def _get_protocol(self, proto_json, protos_json):

if proto_json.get('prefix', None):
"""
The simple case where all we have is a prefix. This just triggers the identity algorithm
The simple case where all we have is a prefix. This just triggers the identity algorithm
with some simple settings
"""

Expand Down Expand Up @@ -369,7 +369,7 @@ def _get_protocol(self, proto_json, protos_json):
'impl': IMPL_MAP[protocol_name]
}
elif proto_json.get('rules', None):
"""
"""
Instead we have a full set of TFC rules which we need to gather
"""
chains = {protocol_name}
Expand Down