Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tests/unit/otel/test_crawler_instrumentor.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import io
import json
import os
import re
from unittest import mock

import pytest
from opentelemetry.sdk.resources import Resource
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import ConsoleSpanExporter, SimpleSpanProcessor
Expand All @@ -14,6 +16,10 @@
from crawlee.storages import Dataset


@pytest.mark.skipif(
os.name == 'nt',
reason='This test is flaky on Windows, see https://github.com/apify/crawlee-python/issues/1469.',
)
async def test_crawler_instrumentor_capability(server_url: URL) -> None:
"""Test OpenTelemetry instrumentation capability of the crawler.

Expand Down
Loading