Skip to content

Commit

Permalink
There is now only one call, dont know why
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpirker committed Dec 23, 2024
1 parent bcccadf commit 176aaa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integrations/celery/test_celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def walk_dogs(x, y):
walk_dogs, [["Maisey", "Charlie", "Bodhi", "Cory"], "Dog park round trip"], 1
)

sampling_context = traces_sampler.call_args_list[1][0][0]
sampling_context = traces_sampler.call_args_list[0][0][0]
assert sampling_context["celery.job.task"] == "dog_walk"
for i, arg in enumerate(args_kwargs["args"]):
assert sampling_context[f"celery.job.args.{i}"] == str(arg)
Expand Down

0 comments on commit 176aaa2

Please sign in to comment.