From 900e66db366768d9f9fcfff05b5ea6cc3b06b230 Mon Sep 17 00:00:00 2001 From: Roman Date: Tue, 7 May 2024 14:18:10 +0800 Subject: [PATCH] test: wait longer for info endpoint to start --- .github/workflows/nim_waku_daily_test.yml | 21 +++++++++++++++++++++ src/node/waku_node.py | 4 ++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/nim_waku_daily_test.yml diff --git a/.github/workflows/nim_waku_daily_test.yml b/.github/workflows/nim_waku_daily_test.yml new file mode 100644 index 00000000..3fe53f21 --- /dev/null +++ b/.github/workflows/nim_waku_daily_test.yml @@ -0,0 +1,21 @@ +name: Test Nim -> Nim Waku Interop Tests + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: false + +on: + push: + branches: + - chore-node-readiness + workflow_dispatch: + +jobs: + test-common: + uses: ./.github/workflows/test_common.yml + secrets: inherit + with: + node1: "harbor.status.im/wakuorg/nwaku:latest" + node2: "harbor.status.im/wakuorg/nwaku:latest" + additional_nodes: "harbor.status.im/wakuorg/nwaku:latest,harbor.status.im/wakuorg/nwaku:latest,harbor.status.im/wakuorg/nwaku:latest" + caller: "nim" diff --git a/src/node/waku_node.py b/src/node/waku_node.py index 24e57bf2..919d20cd 100644 --- a/src/node/waku_node.py +++ b/src/node/waku_node.py @@ -47,8 +47,8 @@ class WakuNode: self._container = None logger.debug(f"WakuNode instance initialized with log path {self._log_path}") - @retry(stop=stop_after_delay(5), wait=wait_fixed(0.1), reraise=True) - def start(self, wait_for_node_sec=10, **kwargs): + @retry(stop=stop_after_delay(60), wait=wait_fixed(0.1), reraise=True) + def start(self, wait_for_node_sec=20, **kwargs): logger.debug("Starting Node...") self._docker_manager.create_network() self._ext_ip = self._docker_manager.generate_random_ext_ip()