File tree Expand file tree Collapse file tree
tests/integrations/django Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -961,15 +961,15 @@ def test_cache_spans_get_many(
961961
962962 assert spans [2 ]["attributes" ]["sentry.op" ] == "cache.get"
963963 assert spans [2 ]["name" ] == f"S{ id } , S{ id + 1 } "
964- assert not spans [0 ]["attributes" ]["cache.hit" ]
964+ assert not spans [2 ]["attributes" ]["cache.hit" ]
965965
966966 assert spans [0 ]["attributes" ]["sentry.op" ] == "cache.get"
967967 assert spans [0 ]["name" ] == f"S{ id } "
968- assert not spans [1 ]["attributes" ]["cache.hit" ]
968+ assert not spans [0 ]["attributes" ]["cache.hit" ]
969969
970970 assert spans [1 ]["attributes" ]["sentry.op" ] == "cache.get"
971971 assert spans [1 ]["name" ] == f"S{ id + 1 } "
972- assert not spans [2 ]["attributes" ]["cache.hit" ]
972+ assert not spans [1 ]["attributes" ]["cache.hit" ]
973973
974974 assert spans [3 ]["attributes" ]["sentry.op" ] == "cache.put"
975975 assert spans [3 ]["name" ] == f"S{ id } "
You can’t perform that action at this time.
0 commit comments