rsmp-nordic / rsmp_validator

Official RSMP Nordic automated test tool, build with Ruby and Rpec.
https://rsmp-nordic.github.io/rsmp_validator/
MIT License
4 stars 1 forks source link

ITC-3 A0302 cannot be acknowledged or suspended on core 3.1.2 or 3.1.3 #446

Closed emiltin closed 3 weeks ago

emiltin commented 3 weeks ago

These two test fail on core 3.1.2 and 3.1.3:

rspec ./spec/site/tlc/alarm_spec.rb:58 # Site::Traffic Light Controller Alarm A0302 can be acknowledged
rspec ./spec/site/tlc/alarm_spec.rb:109 # Site::Traffic Light Controller Alarm A0302 can be suspended and resumed

The tests acknowledges/suspends an Alarm, then waits for an updated Alarm to be received from the device, but it never arrives.

sveitech commented 3 weeks ago

I think you need to update the schema. This file: https://github.com/rsmp-nordic/rsmp_schema/blob/main/schemas/core/3.1.2/alarm_suspended_resumed.json

needs to have the "inactive" option added as well.

emiltin commented 3 weeks ago

"inactive" has been added to the schema.

emiltin commented 3 weeks ago

But currently the ITC-3 seems not to connect: Site did not connect within 120s

emiltin commented 3 weeks ago

Fixed in #434