Skip to content

Conversation

@beniwohli
Copy link
Contributor

The reason for the flakines is as of yet unknown. It looks like the execute_pubsub method
sometimes isn't instrumented, which might point towards an import-time instrumentation-race.

A new version of aioredis will be released soon with completely rewritten internals.
The hope is that this issue will go away at that point.

Using pytest.mark.flaky isn't an option, as flaky doesn't support async tests.

The reason for the flakines is as of yet unknown. It looks like the `execute_pubsub` method
sometimes isn't instrumented, which might point towards an import-time instrumentation-race.

A new version of aioredis will be released soon with completely rewritten internals.
The hope is that this issue will go away at that point.

Using `pytest.mark.flaky` isn't an option, as `flaky` doesn't support async tests.
@ghost
Copy link

ghost commented May 31, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #1143 opened

  • Start Time: 2021-05-31T06:41:06.452+0000

  • Duration: 29 min 57 sec

  • Commit: c369075

Test stats 🧪

Test Results
Failed 0
Passed 9465
Skipped 8766
Total 18231

Trends 🧪

Image of Build Times

Image of Tests

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 9465
Skipped 8766
Total 18231

@beniwohli beniwohli merged commit 5e2ebd3 into elastic:master May 31, 2021
@beniwohli beniwohli deleted the fix-aioredis-flaky-test branch May 31, 2021 07:23
beniwohli added a commit to beniwohli/apm-agent-python that referenced this pull request Sep 14, 2021
The reason for the flakines is as of yet unknown. It looks like the `execute_pubsub` method
sometimes isn't instrumented, which might point towards an import-time instrumentation-race.

A new version of aioredis will be released soon with completely rewritten internals.
The hope is that this issue will go away at that point.

Using `pytest.mark.flaky` isn't an option, as `flaky` doesn't support async tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant