From 1c0c615d621b3169bf37d02fb160eb2de08f6a6b Mon Sep 17 00:00:00 2001 From: Trayan Azarov Date: Mon, 22 Jul 2024 15:18:30 +0300 Subject: [PATCH] test: Fixed var ref --- chromadb/test/test_multithreaded.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chromadb/test/test_multithreaded.py b/chromadb/test/test_multithreaded.py index a2d6f2e1ba5..745f562f4b0 100644 --- a/chromadb/test/test_multithreaded.py +++ b/chromadb/test/test_multithreaded.py @@ -195,7 +195,7 @@ def perform_operation( if exception is not None: raise exception if ( - isinstance(api, SegmentAPI) and api.get_settings().is_persistent is True + isinstance(client, SegmentAPI) and client.get_settings().is_persistent is True ): # we can't check invariants for FastAPI invariants.fd_not_exceeding_threadpool_size(num_workers) # Check that invariants hold