@@ -494,8 +494,8 @@ def _log_open_base(self):
494494 logger .debug (
495495 "Eyes server URL is '{}'" .format (self ._server_connector .server_url )
496496 )
497- logger .debug ("Timeout = {} sec " .format (self .configuration .timeout ))
498- logger .debug ("match_timeout = {} sec " .format (self .configuration .match_timeout ))
497+ logger .debug ("Timeout = {} ms " .format (self .configuration .timeout ))
498+ logger .debug ("match_timeout = {} ms " .format (self .configuration .match_timeout ))
499499 logger .debug (
500500 "Default match settings = '{}' " .format (
501501 self .configuration .default_match_settings
@@ -667,9 +667,9 @@ def _try_post_dom_snapshot(self, dom_json):
667667 def _match_window (self , region_provider , tag , ignore_mismatch , check_settings ):
668668 # type: (RegionProvider, Text, bool, CheckSettings) -> MatchResult
669669 # Update retry timeout if it wasn't specified.
670- retry_timeout = - 1 # type: Num
670+ retry_timeout_ms = - 1 # type: Num
671671 if check_settings :
672- retry_timeout = check_settings .values .timeout
672+ retry_timeout_ms = check_settings .values .timeout
673673
674674 get_config_value = general_utils .use_default_if_none_factory (
675675 self .configuration .default_match_settings , self .configuration
@@ -691,7 +691,7 @@ def _match_window(self, region_provider, tag, ignore_mismatch, check_settings):
691691 )
692692
693693 region = region_provider .get_region ()
694- logger .debug ("params: ([{}], {}, {})" .format (region , tag , retry_timeout ))
694+ logger .debug ("params: ([{}], {}, {})" .format (region , tag , retry_timeout_ms ))
695695
696696 result = self ._match_window_task .match_window (
697697 self ._user_inputs ,
@@ -700,7 +700,7 @@ def _match_window(self, region_provider, tag, ignore_mismatch, check_settings):
700700 self ._should_match_once_on_timeout ,
701701 ignore_mismatch ,
702702 check_settings ,
703- retry_timeout ,
703+ retry_timeout_ms ,
704704 )
705705 return result
706706
0 commit comments