]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
test(ocpp2): dichotomous search - skip Reset test instead of SetVariables
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 26 Feb 2026 23:05:03 +0000 (00:05 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 26 Feb 2026 23:05:03 +0000 (00:05 +0100)
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

tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-Reset.test.ts
tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-SetVariables.test.ts

index d5e947db606667cba3b01ac4e0de4484999e1121..e6c3f0b95d0cebcecd1a35c205cd46da1da18b1e 100644 (file)
@@ -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,
index 3cc0a8c74f6168eee0aa9eb7e4804265b12bde98..0f0c8bbaf6a1547e061fe85a09a61fa0c5352e3b 100644 (file)
@@ -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,