From 5f5b3d1e10cd54b017a8425fbae1a264cf5fe047 Mon Sep 17 00:00:00 2001 From: Marco Vermeulen Date: Wed, 6 Oct 2021 22:54:56 +0100 Subject: [PATCH] Fix broken md5 checksum test. --- src/test/resources/features/checksum_verification.feature | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/resources/features/checksum_verification.feature b/src/test/resources/features/checksum_verification.feature index a51f1b24..65a63717 100644 --- a/src/test/resources/features/checksum_verification.feature +++ b/src/test/resources/features/checksum_verification.feature @@ -4,7 +4,7 @@ Feature: Verify checksums Given the internet is reachable And an initialised environment - Scenario: Install a specific Candidate with a valid SHA-256 checksum + Scenario: Install a specific Version with a valid SHA-256 checksum Given the system is bootstrapped And the candidate "grails" version "1.3.9" is available for download with checksum "1f9234c8e622ec46d33883ea45b39ede768b92d478fe08f6952548247f7fbb65" using algorithm "SHA-256" When I enter "sdk install grails 1.3.9" @@ -13,7 +13,7 @@ Feature: Verify checksums And the response headers file is created for candidate "grails" and version "1.3.9" And the exit code is 0 - Scenario: Install a specific Candidate with a valid SHA1 checksum + Scenario: Install a specific Version with a valid SHA1 checksum Given the system is bootstrapped And the candidate "grails" version "1.3.9" is available for download with checksum "c68e386a6deec9fc4c1e18df21f92739ba2ab36e" using algorithm "SHA1" When I enter "sdk install grails 1.3.9" @@ -22,7 +22,7 @@ Feature: Verify checksums And the response headers file is created for candidate "grails" and version "1.3.9" And the exit code is 0 - Scenario: Install a specific Candidate with a valid md5 checksum + Scenario: Install a specific Version with a valid md5 checksum Given the system is bootstrapped And the candidate "grails" version "1.3.9" is available for download with checksum "1e87a7d982a2f41da96fdec289908552" using algorithm "MD5" When I enter "sdk install grails 1.3.9" @@ -61,7 +61,7 @@ Feature: Verify checksums Scenario: Abort installation after download of a binary with invalid MD5 checksum Given the system is bootstrapped - And the candidate "grails" version "1.3.9" is available for download with checksum "1e87a7d982a2f41da96fdec289908552" using algorithm "MD5" + And the candidate "grails" version "1.3.9" is available for download with checksum "1e87a7d982a2f41da96fdec289908533" using algorithm "MD5" When I enter "sdk install grails 1.3.9" Then I see "Stop! An invalid checksum was detected and the archive removed! Please try re-installing." And the candidate "grails" version "1.3.9" is not installed