From 76ecdb7a600860fbfa110eca00f3e987a34965a5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 27 Feb 2026 00:05:03 +0100 Subject: [PATCH] test(ocpp2): dichotomous search - skip Reset test instead of SetVariables Reset was the last test to complete before the Windows CI hang. The hang occurs when loading the next test file (SetVariables), indicating Reset (or earlier) is not cleaning up properly. Re-enabled: SetVariables test Skipped: Reset test for further investigation --- .../ocpp/2.0/OCPP20IncomingRequestService-Reset.test.ts | 3 ++- .../ocpp/2.0/OCPP20IncomingRequestService-SetVariables.test.ts | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-Reset.test.ts b/tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-Reset.test.ts index d5e947db..e6c3f0b9 100644 --- a/tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-Reset.test.ts +++ b/tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-Reset.test.ts @@ -20,7 +20,8 @@ import { Constants } from '../../../../src/utils/index.js' import { createChargingStation } from '../../../ChargingStationFactory.js' import { TEST_CHARGING_STATION_BASE_NAME } from './OCPP20TestConstants.js' -await describe('B11 & B12 - Reset', async () => { +// FIXME: tests hang on Windows - root cause unknown (dichotomous search: Reset was last test before hang) +await describe('B11 & B12 - Reset', { skip: process.platform === 'win32' }, async () => { const mockChargingStation = createChargingStation({ baseName: TEST_CHARGING_STATION_BASE_NAME, connectorsCount: 3, diff --git a/tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-SetVariables.test.ts b/tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-SetVariables.test.ts index 3cc0a8c7..0f0c8bba 100644 --- a/tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-SetVariables.test.ts +++ b/tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-SetVariables.test.ts @@ -50,8 +50,7 @@ interface OCPP20GetVariablesRequest { getVariableData: OCPP20GetVariableDataType[] } -// FIXME: tests hang on Windows - root cause unknown -await describe('B05 - Set Variables', { skip: process.platform === 'win32' }, async () => { +await describe('B05 - Set Variables', async () => { const mockChargingStation = createChargingStation({ baseName: TEST_CHARGING_STATION_BASE_NAME, connectorsCount: 3, -- 2.43.0