Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rq tests #3762

Merged
merged 2 commits into from
Nov 11, 2024
Merged

Fix rq tests #3762

merged 2 commits into from
Nov 11, 2024

Conversation

antonpirker
Copy link
Member

@antonpirker antonpirker commented Nov 11, 2024

One of the tests involves traces_sampler, have not fixed that one.

@antonpirker antonpirker changed the title Antonpirker/potel/fix rq Fix rq tests Nov 11, 2024
@antonpirker antonpirker changed the base branch from master to potel-base November 11, 2024 15:01
Copy link

codecov bot commented Nov 11, 2024

❌ 4781 Tests Failed:

Tests completed Failed Passed Skipped
20891 4781 16110 4477
View the top 3 failed tests by shortest run time
tests.integrations.bottle.test_bottle test_errors[catchall-nodebug]
Stack Traces | 0s run time
No failure message available
tests.integrations.django.test_basic test_template_exception[with_executing_integration1]
Stack Traces | 0s run time
No failure message available
tests.integrations.django.test_basic test_view_exceptions
Stack Traces | 0s run time
No failure message available

To view more test analytics, go to the Test Analytics Dashboard
Got feedback? Let us know on Github

Comment on lines -162 to -164
with start_transaction(op="rq transaction") as transaction:
queue.enqueue(crashing_job, foo=None)
worker.work(burst=True)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This creates a transaction inside a transaction. This has undefined behavior so I removed it from the test.

@antonpirker antonpirker marked this pull request as ready for review November 11, 2024 15:02
@antonpirker antonpirker merged commit 665b4a5 into potel-base Nov 11, 2024
17 of 124 checks passed
@antonpirker antonpirker deleted the antonpirker/potel/fix-rq branch November 11, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants