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

refactor: Rename docstore fixture to document_store #6360

Merged
merged 2 commits into from
Nov 20, 2023
Merged

Conversation

silvanocerza
Copy link
Contributor

@silvanocerza silvanocerza commented Nov 20, 2023

Related Issues

Related to #6284

Proposed Changes:

Rename doctstore fixture used by Document Store tests to document_store for consistency.

How did you test it?

I ran tests locally and updated the ones using the fixture.

Notes for the reviewer

This is part of a series of PRs, I'll update release notes at the end.

Depends on #6361.

Checklist

@silvanocerza silvanocerza added the ignore-for-release-notes PRs with this flag won't be included in the release notes. label Nov 20, 2023
@silvanocerza silvanocerza self-assigned this Nov 20, 2023
@silvanocerza silvanocerza requested a review from a team as a code owner November 20, 2023 13:31
@silvanocerza silvanocerza requested review from ZanSara and removed request for a team November 20, 2023 13:31
@github-actions github-actions bot added topic:tests 2.x Related to Haystack v2.0 type:documentation Improvements on the docs labels Nov 20, 2023
@silvanocerza
Copy link
Contributor Author

silvanocerza commented Nov 20, 2023

There's something funky going on with the tests, don't merge this for now.

https://github.com/deepset-ai/haystack/actions/runs/6930836688/job/18851299135?pr=6360#step:5:463

@silvanocerza
Copy link
Contributor Author

Rebased on top of #6361, tests are fine now.

@silvanocerza silvanocerza changed the base branch from main to fixture-guard November 20, 2023 14:22
Base automatically changed from fixture-guard to main November 20, 2023 14:47
@silvanocerza
Copy link
Contributor Author

This PR changes only tests in preview but legacy tests were running for some reasons, I stopped them to avoid wasting time, runners and energy.

Preview tests were successful in any case.

https://github.com/deepset-ai/haystack/actions/runs/6931402548?pr=6360

@silvanocerza silvanocerza merged commit a7f742f into main Nov 20, 2023
51 of 63 checks passed
@silvanocerza silvanocerza deleted the rename-fixture branch November 20, 2023 16:41
vblagoje pushed a commit that referenced this pull request Nov 22, 2023
* Prevent pytest_generate_tests from polluting preview tests

* Rename docstore fixture to document_store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Related to Haystack v2.0 ignore-for-release-notes PRs with this flag won't be included in the release notes. topic:tests type:documentation Improvements on the docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants