From fe6c51fd16dab47a2e95ef4850366bc559ceab0b Mon Sep 17 00:00:00 2001 From: Paolo Chila Date: Fri, 22 Sep 2023 07:47:16 +0200 Subject: [PATCH] fixup! Change the selection of dongrade version in TestUpgradeBrokenPackageVersion --- testing/integration/upgrade_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/integration/upgrade_test.go b/testing/integration/upgrade_test.go index 7d114af52b6..4c96ccf70be 100644 --- a/testing/integration/upgrade_test.go +++ b/testing/integration/upgrade_test.go @@ -952,7 +952,7 @@ func TestUpgradeBrokenPackageVersion(t *testing.T) { defer c.Disconnect() downgradeParsedVersion := upgradableVersions[0] - downgradeVersion := downgradeParsedVersion.CoreVersion() + downgradeVersion := downgradeParsedVersion.VersionWithPrerelease() _, err = c.Upgrade(ctx, downgradeVersion, "", false, false) require.NoErrorf(t, err, "error triggering agent upgrade to version %q", downgradeVersion)