Skip to content
This repository was archived by the owner on May 18, 2026. It is now read-only.

Fixes file path issue in client test file for windows#331

Merged
shashwathi merged 1 commit into
vmware-tanzu:mainfrom
shaheerkootteeri:iss330
Sep 22, 2022
Merged

Fixes file path issue in client test file for windows#331
shashwathi merged 1 commit into
vmware-tanzu:mainfrom
shaheerkootteeri:iss330

Conversation

@shaheerkootteeri
Copy link
Copy Markdown
Contributor

Pull request

What this PR does / why we need it

PR fixes client and config package test cases to support all OS file paths.

Which issue(s) this PR fixes

Fixes #330

Describe testing done for PR

Reran all the unit test cases in Mac as well as windows OS, also ran make commands to install successfully.

Additional information or special notes for your reviewer

Copy link
Copy Markdown
Contributor

@warango4 warango4 left a comment

Choose a reason for hiding this comment

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

According to your changes, I assume that it was failing because paths were hard-coded and Windows separator is different, right?

Comment thread pkg/cli-runtime/client_test.go Outdated
Comment thread pkg/cli-runtime/client_test.go Outdated
Comment thread pkg/cli-runtime/config_pkg_test.go Outdated
@shashwathi shashwathi merged commit de17cda into vmware-tanzu:main Sep 22, 2022
@shaheerkootteeri shaheerkootteeri deleted the iss330 branch September 30, 2022 19:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unit test failing in Windows OS for file Path in client test and config test

4 participants