Skip to content

Commit

Permalink
Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
da-vin-ci committed Dec 16, 2024
1 parent 1b0527b commit 1290227
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@ def test_chroma_with_persistence() -> None:
# Or on program exit

finally:

# Need to stop the chrom system database and segment manager to be able to delete the files after testing
docsearch._client._server._sysdb.stop()
docsearch._client._server._manager.stop()

Expand Down Expand Up @@ -347,6 +349,8 @@ def test_chroma_with_persistence_with_client_settings() -> None:
# Data will be automatically persisted on object deletion
# Or on program exit
finally:

# Need to stop the chrom system database and segment manager to be able to delete the files after testing
docsearch._client._server._sysdb.stop()
docsearch._client._server._manager.stop()

Expand Down

0 comments on commit 1290227

Please sign in to comment.