afarran / swm2m_avl_tests

Feature tests of AVL agent
0 stars 0 forks source link

Geofence Interval property (PIN2 in SIN 21) value is not correctly reverted when terminal leaving Low Power Mode #20

Closed ArturMalyszewicz closed 9 years ago

ArturMalyszewicz commented 9 years ago

When terminal enters Low Power Mode value of Interval (PIN 2) in Geofence service (SIN 21) should be changed to LpmGeoInterval (PIN 32 in AVL service). And when terminal leaves LPM this value should be reverted back to user-saved. The bug is that it is always reverted to value 25 no matter what is the user setting.

Steps to reproduce:

  1. Set Interval (PIN 2) in Geofence service (SIN 21) to value A
  2. Set LpmGeoInterval (PIN 33) in AVL service (SIN 126) to value B
  3. Simulate terminal entering LPM
  4. Check what is the value of Interval (PIN 2) in Geofence service - it is value B (overwritten by LpmGeoInterval - that is correct)
  5. Simulate terminal leaving LPM
  6. Check Interval (PIN 2) in Geofence service - it has value 25 (that is not value A) - that is not correct.

Expected behaviour: geofence check interval is reverted to it's initial value (before entering LPM)

Version of AVL Agent: v3.2.2 r1625

Related TC: test_LPM_WhenTerminalEntersAndLeavesLPM_ValueOfGeofenceCheckIntervalIsChangedToLpmGeoIntervalWhenEnteringLPMAndRevertedWhenLeaving in TestLPMModule

ArturMalyszewicz commented 9 years ago

Property has not been saved (only set) in the described scenario. So that is invalid issue.