Skip to content

Commit b8c5a23

Browse files
jellyfishcakecopybara-github
authored andcommitted
Escape parentheses in Azure allocation failure regex.
PiperOrigin-RevId: 889469004
1 parent 376836b commit b8c5a23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

perfkitbenchmarker/providers/azure/azure_kubernetes_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def _CreateNodePool(self, nodepool_config: container.BaseNodePoolConfig):
244244
# Validity should be uncovered during development. Quota and capacity
245245
# will trigger failures in other VM benchmarks.
246246
if re.search(
247-
'Allocation failed. VM(s) with the following constraints cannot be'
247+
'Allocation failed. VM\\(s\\) with the following constraints cannot be'
248248
' allocated, because the condition is too restrictive.',
249249
stderr,
250250
):

0 commit comments

Comments
 (0)