From 8f290411fc8857d147f856f3466f5e64dab0c7a9 Mon Sep 17 00:00:00 2001 From: treydock Date: Tue, 12 Mar 2024 11:25:27 -0400 Subject: [PATCH] Fix Amazon 2023 e2e tests (#3412) --- spec/e2e/e2e_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/e2e/e2e_helper.rb b/spec/e2e/e2e_helper.rb index 32d42a073c..a705db5254 100644 --- a/spec/e2e/e2e_helper.rb +++ b/spec/e2e/e2e_helper.rb @@ -51,7 +51,7 @@ def dist major_version = host_inventory['platform_version'].split('.')[0] "el#{major_version}" when 'amazon' - "amzn#{host_inventory['platform_version']}" + "amzn#{host_inventory['platform_version'].split('.')[0]}" when 'ubuntu' "ubuntu-#{host_inventory['platform_version']}" when 'debian'