@@ -511,7 +511,7 @@ def _get_command_options(self) -> List[str]:
511
511
if self .run_id :
512
512
command_options += ["--run-id" , self .run_id ]
513
513
if self .should_read_with_state :
514
- command_options += ["--should-read-with-state" , self . should_read_with_state ]
514
+ command_options += ["--should-read-with-state=1" ]
515
515
if self .test_evaluation_mode :
516
516
command_options += ["--test-evaluation-mode" , self .test_evaluation_mode ]
517
517
if self .selected_streams :
@@ -565,7 +565,7 @@ def __init__(self, context: ConnectorContext) -> None:
565
565
self .test_dir = self .test_suite_to_dir [LiveTestSuite (self .test_suite )]
566
566
self .control_version = self .context .run_step_options .get_item_or_default (options , "control-version" , None )
567
567
self .target_version = self .context .run_step_options .get_item_or_default (options , "target-version" , "dev" )
568
- self .should_read_with_state = self . context . run_step_options . get_item_or_default ( options , "should-read-with-state" , "1" )
568
+ self .should_read_with_state = "should-read-with-state" in options
569
569
self .selected_streams = self .context .run_step_options .get_item_or_default (options , "selected-streams" , None )
570
570
self .test_evaluation_mode = "strict" if self .context .connector .metadata .get ("supportLevel" ) == "certified" else "diagnostic"
571
571
self .connection_subset = self .context .run_step_options .get_item_or_default (options , "connection-subset" , "sandboxes" )
@@ -644,7 +644,9 @@ async def _run(self, connector_under_test_container: Container) -> StepResult:
644
644
)
645
645
646
646
container = await self ._build_test_container (await connector_under_test_container .id ())
647
- container = container .with_ (hacks .never_fail_exec (self ._run_command_with_proxy (" " .join (self ._test_command ()))))
647
+ command = self ._run_command_with_proxy (" " .join (self ._test_command ()))
648
+ main_logger .info (f"Running command { command } " )
649
+ container = container .with_ (hacks .never_fail_exec (command ))
648
650
tests_artifacts_dir = str (self .local_tests_artifacts_dir )
649
651
path_to_report = f"{ tests_artifacts_dir } /session_{ self .run_id } /report.html"
650
652
0 commit comments