-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
Improve test coverage of container runtime strategies #627
Conversation
✅ Deploy Preview for testcontainers-node ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
getName(): string { | ||
return "NpipeSocketStrategy"; | ||
} | ||
|
||
async getResult(): Promise<ContainerRuntimeClientStrategyResult | undefined> { | ||
if (process.platform !== "win32") { | ||
if (this.env.platform !== "win32") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cristianrgreco May I ask why this changed from process.platform
to this.env.platform
since the platform value is in the process object itself and not in the process.env
. I believe this cause testcontainers to never find runtime strategy on docker windows unless we set the platform
env manually.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this @thenglong, you are correct it's an issue. I will release a patch shortly..
No description provided.