Skip to content

Commit

Permalink
fixup! Change the selection of dongrade version in TestUpgradeBrokenP…
Browse files Browse the repository at this point in the history
…ackageVersion
  • Loading branch information
pchila committed Sep 22, 2023
1 parent 7bc4aa7 commit fe6c51f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/integration/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fe6c51f

Please sign in to comment.