Before copybooks are fetched from mainframe, credentials in the Zowe profile are checked. It used to be done by listing / USS path. As user might not have permission to list /, it's not working for everybody. This PR changes the test location to be the first dataset or USS path specified in the extension configuration.
I'm still waiting to get access to the telemetry data to see if the problem was really in the listing of the / directory
How Has This Been Tested?
Updated CopybookDownloadServiceTest.spec.ts unit test.
Checklist:
[x] Each of my commits contains one meaningful change
[x] I have performed rebase of my branch on top of the development
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have checked my code and corrected any misspellings
Before copybooks are fetched from mainframe, credentials in the Zowe profile are checked. It used to be done by listing
/
USS path. As user might not have permission to list/
, it's not working for everybody. This PR changes the test location to be the first dataset or USS path specified in the extension configuration.I'm still waiting to get access to the telemetry data to see if the problem was really in the listing of the
/
directoryHow Has This Been Tested?
Updated
CopybookDownloadServiceTest.spec.ts
unit test.Checklist: