Skip to content

(tests) Update Pester tests#3906

Draft
corbob wants to merge 2 commits into
chocolatey:developfrom
corbob:update-tests
Draft

(tests) Update Pester tests#3906
corbob wants to merge 2 commits into
chocolatey:developfrom
corbob:update-tests

Conversation

@corbob

@corbob corbob commented Jun 1, 2026

Copy link
Copy Markdown
Member

Opening this as draft while I ensure the Test Kitchen runs are successful.

Description Of Changes

Update a few of the Pester tests for errors we're currently seeing in the CI environment.

Motivation and Context

Ensure test reliability.

Testing

Run through TeamCity Test Kitchen.

Operating Systems Testing

TeamCity Test Kitchen VMs.

Change Types Made

  • Bug fix (non-breaking change).
  • Feature / Enhancement (non-breaking change).
  • Breaking change (fix or feature that could cause existing functionality to change).
  • Documentation changes.
  • PowerShell code changes.

Change Checklist

  • Requires a change to the documentation.
  • Documentation has been updated.
  • Tests to cover my changes, have been added.
  • All new and existing tests passed?
  • PowerShell code changes: PowerShell v3 compatibility checked?
  • All items are complete on the Definition of Done.

Related Issue

N/A

corbob added 2 commits June 1, 2026 14:55
Disable all sources on the upgrade all tests and only enable the hermes
source. This is to resolve issues we see when there are newer Chocolatey
product versions available on hermes-setup than what was installed
intially.
This updates the push tests to account for the different results when
pushing directly and indirectly.
@corbob corbob requested a review from vexx32 June 1, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant