mirror of
https://github.com/logos-co/nomos-e2e-tests.git
synced 2025-01-24 05:30:57 +00:00
test: impatient cfgsync
This commit is contained in:
parent
24e5fbc029
commit
c3ceb579fa
@ -41,7 +41,7 @@ class NomosNode:
|
||||
logger.debug(f"NomosNode instance initialized with log path {self._log_path}")
|
||||
|
||||
# @retry(stop=stop_after_delay(60), wait=wait_fixed(0.1), reraise=True)
|
||||
def start(self, wait_for_node_sec=20, **kwargs):
|
||||
def start(self, wait_for_node_sec=120, **kwargs):
|
||||
logger.debug("Starting Node...")
|
||||
self._docker_manager.create_network()
|
||||
self._ext_ip = self._docker_manager.generate_random_ext_ip()
|
||||
@ -81,11 +81,11 @@ class NomosNode:
|
||||
logger.debug(f"Container returned {self._container}")
|
||||
logger.debug(f"Started container from image {self._image_name}. " f"REST: {getattr(self, '_tcp_port', 'N/A')}")
|
||||
|
||||
try:
|
||||
self.ensure_ready(timeout_duration=wait_for_node_sec)
|
||||
except Exception as ex:
|
||||
logger.error(f"REST service did not become ready in time: {ex}")
|
||||
raise
|
||||
# try:
|
||||
self.ensure_ready(timeout_duration=wait_for_node_sec)
|
||||
# except Exception as ex:
|
||||
# logger.error(f"REST service did not become ready in time: {ex}")
|
||||
# raise
|
||||
|
||||
def ensure_ready(self, timeout_duration=10):
|
||||
@retry(stop=stop_after_delay(timeout_duration), wait=wait_fixed(0.1), reraise=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user