Skip to content

Commit 176aaa2

Browse files
committed
There is now only one call, dont know why
1 parent bcccadf commit 176aaa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integrations/celery/test_celery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ def walk_dogs(x, y):
443443
walk_dogs, [["Maisey", "Charlie", "Bodhi", "Cory"], "Dog park round trip"], 1
444444
)
445445

446-
sampling_context = traces_sampler.call_args_list[1][0][0]
446+
sampling_context = traces_sampler.call_args_list[0][0][0]
447447
assert sampling_context["celery.job.task"] == "dog_walk"
448448
for i, arg in enumerate(args_kwargs["args"]):
449449
assert sampling_context[f"celery.job.args.{i}"] == str(arg)

0 commit comments

Comments
 (0)