Skip to content

Flaky celery test with pypy-3.8 ubuntu #3521

Open
@xrmx

Description

@xrmx
=================================== FAILURES ===================================
________________________ TestMetrics.test_basic_metric _________________________

self = <tests.test_metrics.TestMetrics testMethod=test_basic_metric>

    def test_basic_metric(self):
        CeleryInstrumentor().instrument()
        start_time = default_timer()
        task_runtime_estimated = (default_timer() - start_time) * 1000
    
        metrics = self.get_metrics()
        CeleryInstrumentor().uninstrument()
>       self.assertEqual(len(metrics), 1)
E       AssertionError: 0 != 1

instrumentation/opentelemetry-instrumentation-celery/tests/test_metrics.py:46: AssertionError

CI run: https://github.com/open-telemetry/opentelemetry-python-contrib/actions/runs/15156691327/job/42613075177

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions