From 554a248c569cad16503b3c9df07f3094c1dbbcf7 Mon Sep 17 00:00:00 2001 From: Travis Prescott Date: Fri, 27 Apr 2018 16:54:00 -0700 Subject: [PATCH] Make discovery regex more specific. (#6237) No idea why the CI keeps timing out. One version succeeded so I am confident this is an issue with the CI and not this change. --- tools/automation/tests/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/automation/tests/__init__.py b/tools/automation/tests/__init__.py index 37975b48b54..1a2a87cc95c 100644 --- a/tools/automation/tests/__init__.py +++ b/tools/automation/tests/__init__.py @@ -22,7 +22,7 @@ def extract_module_name(path): - mod_name_regex = re.compile(r'azure-cli-([^/\\]*)') + mod_name_regex = re.compile(r'azure[/\\]cli[/\\]([^/\\]+)') ext_name_regex = re.compile(r'.*(azext_[^/\\]+).*') try: