From a7371d49982b92b964c284615750181cb08b67d0 Mon Sep 17 00:00:00 2001 From: Will Thames Date: Wed, 7 Mar 2018 09:56:38 +1000 Subject: [PATCH] Having uppercase in the resource_prefix can cause unexpected issues We may as well enforce lower case resource prefixes at source --- test/runner/lib/cloud/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runner/lib/cloud/__init__.py b/test/runner/lib/cloud/__init__.py index 1ed059bb16..f572e9191c 100644 --- a/test/runner/lib/cloud/__init__.py +++ b/test/runner/lib/cloud/__init__.py @@ -350,7 +350,7 @@ class CloudProvider(CloudBase): os.environ['SHIPPABLE_JOB_NUMBER'], ) - node = re.sub(r'[^a-zA-Z0-9]+', '-', platform.node().split('.')[0]) + node = re.sub(r'[^a-zA-Z0-9]+', '-', platform.node().split('.')[0]).lower() return 'ansible-test-%s-%d' % (node, random.randint(10000000, 99999999))