Skip to content

Commit

Permalink
Merge pull request #646 from guyzsarun/master
Browse files Browse the repository at this point in the history
Fix: Disable loadtest on test/temp rses
  • Loading branch information
dynamic-entropy authored Nov 7, 2023
2 parents 3720984 + 2c941e8 commit 1415c95
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit 1415c95

Please sign in to comment.