From ea75cc6ff7a47a094461a058f737b2387c4f254b Mon Sep 17 00:00:00 2001 From: Hassieb Pakzad <68423100+hassiebp@users.noreply.github.com> Date: Thu, 12 Dec 2024 11:16:55 +0100 Subject: [PATCH] chore(ci): unquarantine media download test (#1039) --- .github/workflows/ci.yml | 2 +- tests/test_media.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93f9ff28..10825516 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,7 +90,7 @@ jobs: rm -rf .env echo "::group::Run server" - TELEMETRY_ENABLED=false LANGFUSE_S3_EVENT_UPLOAD_ENDPOINT=http://localhost:9090 LANGFUSE_SDK_CI_SYNC_PROCESSING_ENABLED=true LANGFUSE_READ_FROM_POSTGRES_ONLY=true LANGFUSE_READ_FROM_CLICKHOUSE_ONLY=false LANGFUSE_RETURN_FROM_CLICKHOUSE=false docker compose up -d + TELEMETRY_ENABLED=false LANGFUSE_S3_MEDIA_UPLOAD_ENDPOINT=http://localhost:9090 LANGFUSE_SDK_CI_SYNC_PROCESSING_ENABLED=true LANGFUSE_READ_FROM_POSTGRES_ONLY=true LANGFUSE_READ_FROM_CLICKHOUSE_ONLY=false LANGFUSE_RETURN_FROM_CLICKHOUSE=false docker compose up -d echo "::endgroup::" # Add this step to check the health of the container diff --git a/tests/test_media.py b/tests/test_media.py index 8f70b30c..df94b8c8 100644 --- a/tests/test_media.py +++ b/tests/test_media.py @@ -110,8 +110,7 @@ def test_nonexistent_file(): assert media._content_type is None -@pytest.mark.skip(reason="Docker networking issues. Enable once LFE-3159 is fixed.") -def test_replace_media_reference_string_in_object(tmp_path): +def test_replace_media_reference_string_in_object(): # Create test audio file audio_file = "static/joke_prompt.wav" with open(audio_file, "rb") as f: