From: Jérôme Benoit Date: Thu, 26 Feb 2026 23:05:03 +0000 (+0100) Subject: test(ocpp2): dichotomous search - skip Reset test instead of SetVariables X-Git-Tag: v3~144 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=76ecdb7a600860fbfa110eca00f3e987a34965a5;p=e-mobility-charging-stations-simulator.git 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 --- 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,