Skip to content

Commit a8191a4

Browse files
authored
Merge pull request #7269 from martynia/integration_janusz_pilotlogsWrapper_fixfopilot218
fix: set pilot stamp patters to allow test specific names
2 parents 0e95ea4 + 000be91 commit a8191a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DIRAC/WorkloadManagementSystem/Client/PilotLoggingPlugins/FileCacheLoggingPlugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ def __init__(self):
2424
"""
2525
# UUID pattern
2626
self.pattern = re.compile(r"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$")
27-
# pilot stamp pattern
28-
self.stamppattern = re.compile(r"^[0-9a-f]{32}$")
27+
# pilot stamp pattern (relax to a-z to allow test specific names)
28+
self.stamppattern = re.compile(r"^[0-9a-z]{32}$")
2929
self.meta = {}
3030
logPath = os.path.join(os.getcwd(), "pilotlogs")
3131
self.meta["LogPath"] = logPath

0 commit comments

Comments
 (0)