OctopusDeploy / OctopusTentacle

| Public | The secure, lightweight, cross-platform agent for Octopus Server which turns any computer into a worker or deployment target for automated deployments and operations runbooks.
https://octopus.com
Apache License 2.0
11 stars 16 forks source link

Fix flaky test: Remove stray whitespace in expected exception messages. #1016

Closed gb-8 closed 1 month ago

gb-8 commented 2 months ago

Background

My build failed due to a flaky test: https://build.octopushq.com/test/-3830879800243621547?currentProjectId=TeamFireAndMotion_OctopusTentacle_TentacleVLatest_net80&expandTestHistoryChartSection=true

It looks like there is stray whitespace in one of the expected exception messages that is causing the test to occasionally fail.

Results

This PR removes the stray whitespace.

How to review this PR

Was that whitespace deliberate? Do we need to cater for messages both with and without the extra space?