Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MINOR: fix test for windows checkSidecarOsAndArch: Should not throw exception against correct binary #1265

Merged
merged 2 commits into from
Mar 18, 2025

Conversation

shouples
Copy link
Contributor

Summary of Changes

No functional changes, just a test fix for Windows. Closes #1249.

Pull request checklist

Please check if your PR fulfills the following (if applicable):

Tests
  • Added new
  • Updated existing
  • Deleted existing
Other
  • All new disposables (event listeners, views, channels, etc.) collected as for eventual cleanup?
  • Does anything in this PR need to be mentioned in the user-facing CHANGELOG or README?
  • Have you validated this change locally by packaging and installing the extension .vsix file?
    gulp clicktest

Sorry, something went wrong.

@@ -11,7 +11,7 @@ const platformArchToBinaryName: Map<string, string> = new Map([
["linux-arm64", join(binariesDir, "linux-arm64")],
["darwin-x64", join(binariesDir, "osx-amd64")],
["darwin-arm64", join(binariesDir, "osx-aarch64")],
["windows-x64", join(binariesDir, "windows-x64")],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should throw error with incorrect binary was failing because we were trying to look up win32-x64 here and returning undefined

@jlrobins jlrobins changed the title MINOR(testing): fix checkSidecarOsAndArch: Should not throw exception against correct binary MINOR(testing): fix test checkSidecarOsAndArch: Should not throw exception against correct binary vs windows Mar 18, 2025
Copy link
Member

@noeldevelops noeldevelops left a comment

Choose a reason for hiding this comment

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

I still approve but I apparently don't know what this is since I didn't catch the spelling in the last revision 😆

@shouples shouples changed the title MINOR(testing): fix test checkSidecarOsAndArch: Should not throw exception against correct binary vs windows MINOR: fix test checkSidecarOsAndArch: Should not throw exception against correct binary for windows Mar 18, 2025
@shouples shouples changed the title MINOR: fix test checkSidecarOsAndArch: Should not throw exception against correct binary for windows MINOR: fix test for windows checkSidecarOsAndArch: Should not throw exception against correct binary Mar 18, 2025
@shouples shouples merged commit 3fa686c into djs/update-ci-for-multiple-agents Mar 18, 2025
1 of 2 checks passed
@shouples shouples deleted the djs/1249 branch March 18, 2025 14:38
airlock-confluentinc bot pushed a commit that referenced this pull request Mar 18, 2025
airlock-confluentinc bot pushed a commit that referenced this pull request Mar 24, 2025
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.

Failing Windows test: checkSidecarOsAndArch: Should not throw exception against correct binary
3 participants