Skip to content

Commit

Permalink
Don't run test_clean_log on thin client
Browse files Browse the repository at this point in the history
  • Loading branch information
codetheweb committed Jul 24, 2024
1 parent 49d076a commit ce949c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clients/python/integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ export CHROMA_SERVER_HOST=localhost
export CHROMA_SERVER_HTTP_PORT=8000
export CHROMA_SERVER_NOFILE=65535

echo testing: python -m pytest 'chromadb/test/property/' --ignore-glob 'chromadb/test/property/*persist.py' --ignore 'chromadb/test/property/test_collections_with_database_tenant_overwrite.py'
echo testing: python -m pytest 'chromadb/test/property/' --ignore-glob 'chromadb/test/property/*persist.py' --ignore-glob 'chromadb/test/property/test_clean_log.py' --ignore 'chromadb/test/property/test_collections_with_database_tenant_overwrite.py'

# Copy the thin client flag script in place, uvicorn takes a while to startup inside docker
sleep 5
cp "$is_thin_client_py" "$is_thin_client_target"
python -m pytest 'chromadb/test/property/' --ignore-glob 'chromadb/test/property/*persist.py' --ignore 'chromadb/test/property/test_collections_with_database_tenant_overwrite.py'
python -m pytest 'chromadb/test/property/' --ignore-glob 'chromadb/test/property/*persist.py' --ignore-glob 'chromadb/test/property/test_clean_log.py' --ignore 'chromadb/test/property/test_collections_with_database_tenant_overwrite.py'

# Test async client
export CHROMA_API_IMPL="chromadb.api.async_fastapi.AsyncFastAPI"

python -m pytest 'chromadb/test/property/' --ignore-glob 'chromadb/test/property/*persist.py' --ignore 'chromadb/test/property/test_collections_with_database_tenant_overwrite.py'
python -m pytest 'chromadb/test/property/' --ignore-glob 'chromadb/test/property/*persist.py' --ignore-glob 'chromadb/test/property/test_clean_log.py' --ignore 'chromadb/test/property/test_collections_with_database_tenant_overwrite.py'

0 comments on commit ce949c8

Please sign in to comment.