@@ -467,12 +467,14 @@ def spec_control_execution_inputs(
467
467
468
468
@pytest .fixture (scope = "session" )
469
469
def spec_control_connector_runner (
470
+ request : SubRequest ,
470
471
dagger_client : dagger .Client ,
471
472
spec_control_execution_inputs : ExecutionInputs ,
472
473
) -> ConnectorRunner :
473
474
runner = ConnectorRunner (
474
475
dagger_client ,
475
476
spec_control_execution_inputs ,
477
+ request .config .stash [stash_keys .RUN_IN_AIRBYTE_CI ],
476
478
)
477
479
return runner
478
480
@@ -507,12 +509,14 @@ def spec_target_execution_inputs(
507
509
508
510
@pytest .fixture (scope = "session" )
509
511
def spec_target_connector_runner (
512
+ request : SubRequest ,
510
513
dagger_client : dagger .Client ,
511
514
spec_target_execution_inputs : ExecutionInputs ,
512
515
) -> ConnectorRunner :
513
516
runner = ConnectorRunner (
514
517
dagger_client ,
515
518
spec_target_execution_inputs ,
519
+ request .config .stash [stash_keys .RUN_IN_AIRBYTE_CI ],
516
520
)
517
521
return runner
518
522
@@ -551,6 +555,7 @@ def check_control_execution_inputs(
551
555
552
556
@pytest .fixture (scope = "session" )
553
557
async def check_control_connector_runner (
558
+ request : SubRequest ,
554
559
dagger_client : dagger .Client ,
555
560
check_control_execution_inputs : ExecutionInputs ,
556
561
connection_id : str ,
@@ -560,6 +565,7 @@ async def check_control_connector_runner(
560
565
runner = ConnectorRunner (
561
566
dagger_client ,
562
567
check_control_execution_inputs ,
568
+ request .config .stash [stash_keys .RUN_IN_AIRBYTE_CI ],
563
569
http_proxy = proxy ,
564
570
)
565
571
yield runner
@@ -600,6 +606,7 @@ def check_target_execution_inputs(
600
606
601
607
@pytest .fixture (scope = "session" )
602
608
async def check_target_connector_runner (
609
+ request : SubRequest ,
603
610
check_control_execution_result : ExecutionResult ,
604
611
dagger_client : dagger .Client ,
605
612
check_target_execution_inputs : ExecutionInputs ,
@@ -614,6 +621,7 @@ async def check_target_connector_runner(
614
621
runner = ConnectorRunner (
615
622
dagger_client ,
616
623
check_target_execution_inputs ,
624
+ request .config .stash [stash_keys .RUN_IN_AIRBYTE_CI ],
617
625
http_proxy = proxy ,
618
626
)
619
627
yield runner
@@ -685,6 +693,7 @@ def discover_target_execution_inputs(
685
693
686
694
@pytest .fixture (scope = "session" )
687
695
async def discover_control_connector_runner (
696
+ request : SubRequest ,
688
697
dagger_client : dagger .Client ,
689
698
discover_control_execution_inputs : ExecutionInputs ,
690
699
connection_id : str ,
@@ -694,13 +703,15 @@ async def discover_control_connector_runner(
694
703
yield ConnectorRunner (
695
704
dagger_client ,
696
705
discover_control_execution_inputs ,
706
+ request .config .stash [stash_keys .RUN_IN_AIRBYTE_CI ],
697
707
http_proxy = proxy ,
698
708
)
699
709
await proxy .clear_cache_volume ()
700
710
701
711
702
712
@pytest .fixture (scope = "session" )
703
713
async def discover_target_connector_runner (
714
+ request : SubRequest ,
704
715
dagger_client : dagger .Client ,
705
716
discover_control_execution_result : ExecutionResult ,
706
717
discover_target_execution_inputs : ExecutionInputs ,
@@ -716,6 +727,7 @@ async def discover_target_connector_runner(
716
727
yield ConnectorRunner (
717
728
dagger_client ,
718
729
discover_target_execution_inputs ,
730
+ request .config .stash [stash_keys .RUN_IN_AIRBYTE_CI ],
719
731
http_proxy = proxy ,
720
732
)
721
733
await proxy .clear_cache_volume ()
@@ -776,6 +788,7 @@ def read_target_execution_inputs(
776
788
777
789
@pytest .fixture (scope = "session" )
778
790
async def read_control_connector_runner (
791
+ request : SubRequest ,
779
792
dagger_client : dagger .Client ,
780
793
read_control_execution_inputs : ExecutionInputs ,
781
794
connection_id : str ,
@@ -785,6 +798,7 @@ async def read_control_connector_runner(
785
798
yield ConnectorRunner (
786
799
dagger_client ,
787
800
read_control_execution_inputs ,
801
+ request .config .stash [stash_keys .RUN_IN_AIRBYTE_CI ],
788
802
http_proxy = proxy ,
789
803
)
790
804
await proxy .clear_cache_volume ()
@@ -806,6 +820,7 @@ async def read_control_execution_result(
806
820
807
821
@pytest .fixture (scope = "session" )
808
822
async def read_target_connector_runner (
823
+ request : SubRequest ,
809
824
dagger_client : dagger .Client ,
810
825
read_target_execution_inputs : ExecutionInputs ,
811
826
read_control_execution_result : ExecutionResult ,
@@ -821,6 +836,7 @@ async def read_target_connector_runner(
821
836
yield ConnectorRunner (
822
837
dagger_client ,
823
838
read_target_execution_inputs ,
839
+ request .config .stash [stash_keys .RUN_IN_AIRBYTE_CI ],
824
840
http_proxy = proxy ,
825
841
)
826
842
await proxy .clear_cache_volume ()
@@ -890,6 +906,7 @@ def read_with_state_target_execution_inputs(
890
906
891
907
@pytest .fixture (scope = "session" )
892
908
async def read_with_state_control_connector_runner (
909
+ request : SubRequest ,
893
910
dagger_client : dagger .Client ,
894
911
read_with_state_control_execution_inputs : ExecutionInputs ,
895
912
connection_id : str ,
@@ -899,6 +916,7 @@ async def read_with_state_control_connector_runner(
899
916
yield ConnectorRunner (
900
917
dagger_client ,
901
918
read_with_state_control_execution_inputs ,
919
+ request .config .stash [stash_keys .RUN_IN_AIRBYTE_CI ],
902
920
http_proxy = proxy ,
903
921
)
904
922
await proxy .clear_cache_volume ()
@@ -922,6 +940,7 @@ async def read_with_state_control_execution_result(
922
940
923
941
@pytest .fixture (scope = "session" )
924
942
async def read_with_state_target_connector_runner (
943
+ request : SubRequest ,
925
944
dagger_client : dagger .Client ,
926
945
read_with_state_target_execution_inputs : ExecutionInputs ,
927
946
read_with_state_control_execution_result : ExecutionResult ,
@@ -936,6 +955,7 @@ async def read_with_state_target_connector_runner(
936
955
yield ConnectorRunner (
937
956
dagger_client ,
938
957
read_with_state_target_execution_inputs ,
958
+ request .config .stash [stash_keys .RUN_IN_AIRBYTE_CI ],
939
959
http_proxy = proxy ,
940
960
)
941
961
await proxy .clear_cache_volume ()
0 commit comments