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 celery docker tests #1841

Merged
merged 2 commits into from
Jun 13, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,8 @@ def fn_exception():

span = spans[0]

assert span.status.is_ok is True
assert span.status.status_code == StatusCode.UNSET
assert span.status.is_ok is False
assert span.status.status_code == StatusCode.ERROR
assert span.name == "run/test_celery_functional.fn_exception"
assert span.attributes.get("celery.action") == "run"
assert span.attributes.get("celery.state") == "FAILURE"
Expand Down Expand Up @@ -443,8 +443,8 @@ def run(self):

span = spans[0]

assert span.status.is_ok is True
assert span.status.status_code == StatusCode.UNSET
assert span.status.is_ok is False
assert span.status.status_code == StatusCode.ERROR
assert span.name == "run/test_celery_functional.BaseTask"
assert span.attributes.get("celery.action") == "run"
assert span.attributes.get("celery.state") == "FAILURE"
Expand Down