Skip to content

[Test Refactor] Using Mock LockService instead of instantiating in tests#772

Merged
junqiu-lei merged 3 commits intoopensearch-project:mainfrom
cwperks:remove-lock-service
Jul 15, 2025
Merged

[Test Refactor] Using Mock LockService instead of instantiating in tests#772
junqiu-lei merged 3 commits intoopensearch-project:mainfrom
cwperks:remove-lock-service

Conversation

@cwperks
Copy link
Copy Markdown
Member

@cwperks cwperks commented Jul 8, 2025

Description

This PR is a follow-up to #677 to remove all instances of instantiating the LockService from JS. This repo had a couple instances of Instantiating this class in test classes that has now been replaced with mocks.

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

cwperks added 2 commits July 3, 2025 22:45
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
@cwperks cwperks changed the title Using Mock LockService instead of instantiating in tests [Test Refactor] Using Mock LockService instead of instantiating in tests Jul 8, 2025
Signed-off-by: Craig Perkins <cwperx@amazon.com>
@junqiu-lei junqiu-lei merged commit dfd6fe6 into opensearch-project:main Jul 15, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants