Skip to content

Commit

Permalink
Merge branch 'main' into issue_1842
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Jun 13, 2023
2 parents 7ad0139 + 776f9d4 commit deb3b8b
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit deb3b8b

Please sign in to comment.