File tree Expand file tree Collapse file tree
tests/integrations/langgraph Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -712,29 +712,26 @@ async def run_error_test():
712712 assert invoke_span .get ("tags" , {}).get ("status" ) == "internal_error"
713713
714714
715- @pytest .mark .parametrize ("span_streaming" , [True , False ])
716715@pytest .mark .parametrize ("stream_gen_ai_spans" , [True , False ])
717716def test_span_origin (
718717 sentry_init ,
719718 capture_events ,
720719 capture_items ,
721720 stream_gen_ai_spans ,
722- span_streaming ,
723721):
724722 """Test that span origins are correctly set."""
725723 sentry_init (
726724 integrations = [LanggraphIntegration ()],
727725 traces_sample_rate = 1.0 ,
728726 stream_gen_ai_spans = stream_gen_ai_spans ,
729- _experiments = {"trace_lifecycle" : "stream" if span_streaming else "static" },
730727 )
731728
732729 graph = MockStateGraph ()
733730
734731 def original_compile (self , * args , ** kwargs ):
735732 return MockCompiledGraph (self .name )
736733
737- if span_streaming or stream_gen_ai_spans :
734+ if stream_gen_ai_spans :
738735 items = capture_items ("transaction" , "span" )
739736
740737 with start_transaction ():
You can’t perform that action at this time.
0 commit comments