From faaf4da7df2794945f29d3420a94aaa29bd21eef Mon Sep 17 00:00:00 2001 From: Chralt98 Date: Tue, 19 Dec 2023 10:16:25 +0100 Subject: [PATCH] increase timeouts for CI workflows --- .github/workflows/integration-tests.yml | 13 +++++-------- integration-tests/moonwall.config.json | 5 ++++- integration-tests/zombienet/produce-blocks.zndsl | 10 +++++----- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index a9e32cc5e..47d55b09c 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -205,10 +205,8 @@ jobs: run: | cd integration-tests pnpm exec moonwall test chopsticks_battery_station_upgrade - - - name: Display Chopsticks logs - run: | - cat integration-tests/tmp/node_logs/*.log + ls -R integration-tests/tmp/node_logs/ + cat integration-tests/tmp/node_logs/*.log chopsticks_zeitgeist_upgrade: name: Chopsticks Runtime Upgrade Zeitgeist @@ -257,7 +255,6 @@ jobs: run: | cd integration-tests pnpm exec moonwall test chopsticks_zeitgeist_upgrade - - - name: Display Chopsticks logs - run: | - cat integration-tests/tmp/node_logs/*.log + ls -R integration-tests/tmp/node_logs/ + cat integration-tests/tmp/node_logs/*.log + diff --git a/integration-tests/moonwall.config.json b/integration-tests/moonwall.config.json index cdcaf44fe..c3c0efbb4 100644 --- a/integration-tests/moonwall.config.json +++ b/integration-tests/moonwall.config.json @@ -1,6 +1,6 @@ { "label": "moonwall_config", - "defaultTestTimeout": 120000, + "defaultTestTimeout": 240000, "scriptsDir": "scripts/", "environments": [ { @@ -52,6 +52,7 @@ ] }, "envVars": ["LOG_LEVEL=debug", "VERBOSE_LOG"], + "buildBlockMode": "manual", "connections": [ { "name": "DB", @@ -75,6 +76,7 @@ ] }, "envVars": ["LOG_LEVEL=debug", "VERBOSE_LOG"], + "buildBlockMode": "manual", "connections": [ { "name": "DB", @@ -107,6 +109,7 @@ ] }, "envVars": ["LOG_LEVEL=debug", "VERBOSE_LOG"], + "buildBlockMode": "manual", "connections": [ { "name": "HydraDXPara", diff --git a/integration-tests/zombienet/produce-blocks.zndsl b/integration-tests/zombienet/produce-blocks.zndsl index 848019e34..0ede5a298 100644 --- a/integration-tests/zombienet/produce-blocks.zndsl +++ b/integration-tests/zombienet/produce-blocks.zndsl @@ -12,7 +12,7 @@ alice: reports sub_libp2p_is_major_syncing is 0 # validator logs bob: log line matches glob "*rted #1*" within 10 seconds bob: log line matches "Imported #[0-9]+" within 10 seconds -bob: log line contains regex "best: #1" within 10 seconds +bob: log line contains regex "best: #1" within 30 seconds bob: log line matches "best: #[1-9]+" within 10 seconds bob: is up @@ -29,12 +29,12 @@ bob: reports block height - finalised block is lower than 10 within 60 seconds bob: parachain 2101 is registered within 80 seconds alice: is up -alice: log line contains regex "Zeitgeist Parachain.*best: #1" within 100 seconds -alice: log line contains regex "Zeitgeist Parachain.*finalized #[1-9]+" within 100 seconds +alice: log line contains regex "Zeitgeist Parachain.*best: #1" within 360 seconds +alice: log line contains regex "Zeitgeist Parachain.*finalized #[1-9]+" within 360 seconds -alice: ts-script ./0001-balance-transfer.ts return is equal to 1 within 120 seconds +alice: ts-script ./0001-balance-transfer.ts return is equal to 1 within 360 seconds -bob: parachain 2101 block height is at least 10 within 200 seconds +bob: parachain 2101 block height is at least 10 within 360 seconds alice: reports block height minus finalised block is lower than 10 within 200 seconds alice: reports block height - finalised block is lower than 10 within 200 seconds \ No newline at end of file