Skip to content

Commit 5ab517c

Browse files
author
Dynamo
committed
bugfix - TestEnablesEcalHcal was ignoredgit diff
1 parent e10c4a4 commit 5ab517c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/common/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def __init__(self, **kwd):
180180
# list of conditions for a PRODUCTION state dataset to become IGNORED (will still be reset to PRODUCTION if a new block replica is found)
181181
ignore_datasets = [
182182
lambda d: (time.time() - d.last_update) / 3600. / 24. > 180,
183-
lambda d: re.match('.*test.*', d.name, re.IGNORECASE),
183+
lambda d: re.match('/.+test.*', d.name, re.IGNORECASE), # don't match to TestEnables
184184
lambda d: re.match('.*BUNNIES.*', d.name),
185185
lambda d: re.match('.*/None.*', d.name),
186186
lambda d: re.match('.*FAKE.*', d.name)

0 commit comments

Comments
 (0)