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

Fixed Mocha Dependency #108

Merged
merged 1 commit into from
Nov 9, 2022
Merged

Fixed Mocha Dependency #108

merged 1 commit into from
Nov 9, 2022

Conversation

nhtruong
Copy link
Collaborator

@nhtruong nhtruong commented Nov 1, 2022

Opensearch-DSL gem was using Mocha 1.x.x for its unit tests. Mocha has just released 2.0.0 which breaks some of the tests. This will lock mocha to 1.x.x for Opensearch-DSL

Signed-off-by: Theo Truong [email protected]

CHANGELOG.md Outdated
@@ -12,8 +12,9 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
### Removed

### Fixed

- Mocha Dependency issue in `opensearch-dsl` gem
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are we adding PR details to Changelogs?

Copy link
Collaborator Author

@nhtruong nhtruong Nov 2, 2022

Choose a reason for hiding this comment

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

Yes. Thanks for catching that. Though I think we should link the GH Issue instead if it's available so we don't have to deal with the chicken-and-egg issue when updating CHANGELOG.md, or when the PR is recreated with a new number.

VachaShah
VachaShah previously approved these changes Nov 2, 2022
Signed-off-by: Theo Truong <[email protected]>
@nhtruong
Copy link
Collaborator Author

nhtruong commented Nov 8, 2022

@VijayanB @jayeshathila @vamshin Would you mind reviewing this PR?

@@ -12,8 +12,9 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
### Removed

### Fixed

- Mocha Dependency issue in `opensearch-dsl` gem ([#108](https://github.com/opensearch-project/opensearch-ruby/pull/108))
Copy link
Member

Choose a reason for hiding this comment

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

Can I nitpick? It should say “Locked mocha …” because it doesn’t say what the issue is otherwise.

@nhtruong nhtruong merged commit 69b5ee3 into opensearch-project:main Nov 9, 2022
@nhtruong nhtruong deleted the fix_mocha_dependency branch November 9, 2022 17:23
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.

3 participants