From 401e514c3291d985deb443e8c2e6e05deb0579dc Mon Sep 17 00:00:00 2001 From: Aleksandar Brayanov Date: Tue, 5 Nov 2024 14:59:02 +0000 Subject: [PATCH] test: added offchain worker enabling-related log to checkLogsNotExist --- test/suites/para/test_tanssi_containers.ts | 1 + test/suites/warp-sync/test_warp_sync.ts | 1 + test/suites/zombie-tanssi-relay/test-tanssi-relay.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/test/suites/para/test_tanssi_containers.ts b/test/suites/para/test_tanssi_containers.ts index 184feae22..01ad7e79c 100644 --- a/test/suites/para/test_tanssi_containers.ts +++ b/test/suites/para/test_tanssi_containers.ts @@ -463,6 +463,7 @@ describeSuite({ for (const log of logs) { const logFilePath = getTmpZombiePath() + log; await checkLogsNotExist(logFilePath, [ + "Entering off-chain worker.", "Shutdown error", "Timeout when waiting for paritydb lock", "Error waiting for chain", diff --git a/test/suites/warp-sync/test_warp_sync.ts b/test/suites/warp-sync/test_warp_sync.ts index 91dcbc7cb..bd71e2116 100644 --- a/test/suites/warp-sync/test_warp_sync.ts +++ b/test/suites/warp-sync/test_warp_sync.ts @@ -273,6 +273,7 @@ describeSuite({ test: async function () { const logFilePath = getTmpZombiePath() + "/Collator2000-02.log"; await checkLogsNotExist(logFilePath, [ + "Entering off-chain worker.", "Shutdown error", "Timeout when waiting for paritydb lock", "Error waiting for chain", diff --git a/test/suites/zombie-tanssi-relay/test-tanssi-relay.ts b/test/suites/zombie-tanssi-relay/test-tanssi-relay.ts index 7130554d3..853022e33 100644 --- a/test/suites/zombie-tanssi-relay/test-tanssi-relay.ts +++ b/test/suites/zombie-tanssi-relay/test-tanssi-relay.ts @@ -418,6 +418,7 @@ describeSuite({ "Error waiting for chain", "Failed to start container chain", "Shutting down container chain service", + "Entering off-chain worker.", ]); } },