Skip to content

Commit

Permalink
reset clients
Browse files Browse the repository at this point in the history
  • Loading branch information
HammadB committed Oct 19, 2023
1 parent 2bd9df1 commit 82cd7b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions chromadb/test/client/test_database_tenant.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@


def test_database_tenant_collections(client: Client) -> None:
client.reset()
# Create a new database in the default tenant
admin_client = AdminClient.from_system(client._system)
admin_client.create_database("test_db")
Expand Down
1 change: 1 addition & 0 deletions chromadb/test/client/test_multiple_clients_concurrency.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

def test_multiple_clients_concurrently(client: Client) -> None:
"""Tests running multiple clients, each against their own database, concurrently."""
client.reset()
admin_client = AdminClient.from_system(client._system)
admin_client.create_database("test_db")

Expand Down

0 comments on commit 82cd7b4

Please sign in to comment.