test: wait longer for info endpoint to start

This commit is contained in:
Roman 2024-05-07 14:18:10 +08:00
parent 151233fddb
commit 900e66db36
No known key found for this signature in database
GPG Key ID: B8FE070B54E11B75
2 changed files with 23 additions and 2 deletions

View File

@ -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"

View File

@ -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()