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

[storage][test] fix integration by double-quoting file patterns #32584

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

jeremymeng
Copy link
Member

The recent Mocha upgrades broke storage integration tests on Windows, likely due to their upgrade of yargs dependency. With single quotes, we now get errors like

Error: No test files found: "'dist-esm/storage-file-share/test/**/*.spec.js'"

This PR changes to use escaped doubled quotes in the scripts.

The recent Mocha upgrades broke storage integration tests on Windows, likely due
to their upgrade of yargs dependency. With single quotes, we now get errors like

>Error: No test files found: "'dist-esm/storage-file-share/test/**/*.spec.js'"

This PR changes to use escaped doubled quotes in the scripts.
@github-actions github-actions bot added the Storage Storage Service (Queues, Blobs, Files) label Jan 16, 2025
@jeremymeng
Copy link
Member Author

/azp run js - storage-blob - tests

@jeremymeng
Copy link
Member Author

/azp run js - storage-queue - tests

@jeremymeng
Copy link
Member Author

/azp run js - storage-file-share - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jeremymeng
Copy link
Member Author

/azp run js - storage-file-datalake - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@jeremymeng
Copy link
Member Author

Tests failures exist before this PR.

Copy link
Member

@HarshaNalluru HarshaNalluru left a comment

Choose a reason for hiding this comment

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

Changes look good.
Would prefer logging an issue for the failing quantum-jobs tests and disable it's tests or CI here.

@jeremymeng
Copy link
Member Author

Logged #32608

@jeremymeng
Copy link
Member Author

/check-enforcer override

@jeremymeng jeremymeng merged commit f360cb1 into Azure:main Jan 17, 2025
53 of 62 checks passed
@jeremymeng jeremymeng deleted the storage/fix-integration-tests branch January 17, 2025 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants