#!/bin/bash
set -x

SCRIPT_DIR="$(dirname "$(realpath "$0")")"
cd "$SCRIPT_DIR/../.."

PYTEST_TIMEOUT="${PYTEST_TIMEOUT:-180}"

pytest --timeout "${PYTEST_TIMEOUT}" api/tests/integration_tests/vdb/chroma \
  api/tests/integration_tests/vdb/milvus \
  api/tests/integration_tests/vdb/pgvecto_rs \
  api/tests/integration_tests/vdb/pgvector \
  api/tests/integration_tests/vdb/qdrant \
  api/tests/integration_tests/vdb/weaviate \
  api/tests/integration_tests/vdb/elasticsearch \
  api/tests/integration_tests/vdb/vikingdb \
  api/tests/integration_tests/vdb/baidu \
  api/tests/integration_tests/vdb/tcvectordb \
  api/tests/integration_tests/vdb/upstash \
  api/tests/integration_tests/vdb/couchbase \
  api/tests/integration_tests/vdb/oceanbase \
  api/tests/integration_tests/vdb/tidb_vector \
  api/tests/integration_tests/vdb/huawei \
