Skip to content

Skip docker ping on windows - #1874

Merged
Ryan Brandenburg (ryanbrandenburg) merged 1 commit into
mainfrom
users/rybrande/DockerTest
Sep 18, 2026
Merged

Ryan Brandenburg (ryanbrandenburg) merged 1 commit into
mainfrom
users/rybrande/DockerTest

Conversation

@ryanbrandenburg

Copy link
Copy Markdown
Contributor

We tried adding Polly retries to make this more stable on windows but no luck. Given that let's just skip it on windows like we do for the rest of these Docker integration tests.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved review issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

Skips the Docker ping integration test on Windows and removes the unused Polly dependency.

Changes:

  • Excludes DockerService_CanPingDockerAsync on Windows.
  • Removes Polly retry logic and its project reference.
File Summary
test/​Microsoft.ComponentDetection.Common.Tests/​Microsoft.ComponentDetection.Common.Tests.csproj Removes the unused Polly package reference.
test/​Microsoft.ComponentDetection.Common.Tests/​DockerServiceTests.cs Skips the Docker ping test on Windows and removes retry logic.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ryanbrandenburg
Ryan Brandenburg (ryanbrandenburg) merged commit 9a7761e into main Sep 18, 2026
13 checks passed
@ryanbrandenburg
Ryan Brandenburg (ryanbrandenburg) deleted the users/rybrande/DockerTest branch September 18, 2026 22:27
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.

4 participants