Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Fixed index store test failure#365

Merged
scohen merged 1 commit into
mainfrom
fix-store-test-failure
Sep 13, 2023
Merged

Fixed index store test failure#365
scohen merged 1 commit into
mainfrom
fix-store-test-failure

Conversation

@scohen

@scohen scohen commented Sep 13, 2023

Copy link
Copy Markdown
Collaborator

Depending on what was run prior, the store test suite might encounter a previously built index, which would make the create index tests fail. The change here deletes the index in a setup_all block, so the test suite starts with an empty index, and keeps the on_exit handler that deletes the index at the end of each test.

@scohen scohen requested a review from zachallaun September 13, 2023 16:12
@scohen scohen marked this pull request as ready for review September 13, 2023 16:12
Depending on what was run prior, the store test suite might encounter
a previously built index, which would make the create index tests
fail. The change here deletes the index in a setup_all block, so the
test suite starts with an empty index, and keeps the on_exit handler
that deletes the index at the end of each test.
@scohen scohen force-pushed the fix-store-test-failure branch from daef53e to 7cd0511 Compare September 13, 2023 16:18
@scohen scohen merged commit 7b32705 into main Sep 13, 2023
@scohen scohen deleted the fix-store-test-failure branch September 13, 2023 16:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants