Commit 0a9bcf77 authored by Sarah Clark's avatar Sarah Clark
Browse files

python3Packages.chromadb: disable flaky tests

Happens when two copies are running simultaneously and a test calls through to chromadb/api/shared_system_client.py
parent 669d470a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@
  pytestCheckHook,
  sqlite,
  starlette,
  writableTmpDirAsHomeHook,

  # passthru
  nixosTests,
@@ -165,6 +166,7 @@ buildPythonPackage rec {
    pytestCheckHook
    sqlite
    starlette
    writableTmpDirAsHomeHook
  ];

  # Disable on aarch64-linux due to broken onnxruntime
@@ -238,6 +240,10 @@ buildPythonPackage rec {

    # Cannot find protobuf file while loading test
    "chromadb/test/distributed/test_log_failover.py"

    # ValueError: An instance of Chroma already exists for ephemeral with different settings
    "chromadb/test/test_chroma.py"
    "chromadb/test/ef/test_multimodal_ef.py"
  ];

  __darwinAllowLocalNetworking = true;