From 57263b49f36127cc80fbe19353490e92db57ad88 Mon Sep 17 00:00:00 2001 From: Mark Slowey Date: Tue, 21 Jul 2026 12:52:57 +0100 Subject: [PATCH 1/3] log found logs for failing test --- .../allocation-tests/letter-allocation-capacity.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/component-tests/allocation-tests/letter-allocation-capacity.spec.ts b/tests/component-tests/allocation-tests/letter-allocation-capacity.spec.ts index 7a172a4a8..6b2ef37b6 100644 --- a/tests/component-tests/allocation-tests/letter-allocation-capacity.spec.ts +++ b/tests/component-tests/allocation-tests/letter-allocation-capacity.spec.ts @@ -67,6 +67,7 @@ test.describe("Allocator Lambda Tests", () => { const supplierAllocatorLog = await getAllocationLog( "Pack specification filtered out based on pageCount constraints", ); + logger.info(`Log found: ${JSON.stringify(supplierAllocatorLog)}`); const filteredPackSpecId = supplierAllocatorLog.packSpecId; logger.info(`Pack spec filtered out ${filteredPackSpecId}`); expect(filteredPackSpecId).toBe("notify-c5"); From 9ca07c84c027c1eee89a296d7c6072e8bfdfb64e Mon Sep 17 00:00:00 2001 From: Mark Slowey Date: Tue, 21 Jul 2026 12:54:30 +0100 Subject: [PATCH 2/3] version bump --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 476159173..6a1200d76 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.0-${yyyy}${mm}${dd}.${HH}${MM}${SS}+${hash} +1.3.0-${yyyy}${mm}${dd}.${HH}${MM}${SS}+${hash} From 51d7065223511c26e1910a4b96f47a47f793fdcd Mon Sep 17 00:00:00 2001 From: Mark Slowey Date: Tue, 21 Jul 2026 13:21:05 +0100 Subject: [PATCH 3/3] log all found logs --- .../allocation-tests/letter-allocation-capacity.spec.ts | 1 - tests/helpers/allocation-helper.ts | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/component-tests/allocation-tests/letter-allocation-capacity.spec.ts b/tests/component-tests/allocation-tests/letter-allocation-capacity.spec.ts index 6b2ef37b6..7a172a4a8 100644 --- a/tests/component-tests/allocation-tests/letter-allocation-capacity.spec.ts +++ b/tests/component-tests/allocation-tests/letter-allocation-capacity.spec.ts @@ -67,7 +67,6 @@ test.describe("Allocator Lambda Tests", () => { const supplierAllocatorLog = await getAllocationLog( "Pack specification filtered out based on pageCount constraints", ); - logger.info(`Log found: ${JSON.stringify(supplierAllocatorLog)}`); const filteredPackSpecId = supplierAllocatorLog.packSpecId; logger.info(`Pack spec filtered out ${filteredPackSpecId}`); expect(filteredPackSpecId).toBe("notify-c5"); diff --git a/tests/helpers/allocation-helper.ts b/tests/helpers/allocation-helper.ts index bed146780..2e91415e8 100644 --- a/tests/helpers/allocation-helper.ts +++ b/tests/helpers/allocation-helper.ts @@ -6,6 +6,7 @@ import { QueryCommand, UpdateCommand, } from "@aws-sdk/lib-dynamodb"; +import { logger } from "tests/helpers/pino-logger"; import { envName } from "tests/constants/api-constants"; import { pollAllocatorLogWithOptions, @@ -142,6 +143,7 @@ export async function getAllocationLog< >(description: string, options?: AllocationLogOptions): Promise { const message = await pollAllocatorLogWithOptions(description, options); const allocationLog = JSON.parse(message) as TLog; + logger.info(`Log found: ${JSON.stringify(allocationLog)}`); return allocationLog; }