Homec4science

errorlib: fix time-constrained emergency test case

Description

errorlib: fix time-constrained emergency test case

  • In test_get_emergency_recipients(), when ran test case at certain hours and minute it failed. Var hour is calculated with "mod 24" (hour must be in (0..23) and var minute with "mod 60" (minute must be in 0..59). (closes #421)
  • Recalculated var hour and var earlier in constraint_near_miss when var minute changes and it means changing hour.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Jan 18 2011, 16:56
Parents
R3600:2003f119f9ab: Merge branch 'hweiler/bibauthorid'
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:4cfa3deb48d2: errorlib: fix time-constrained emergency test case (authored by Raquel Jimenez Encinar <raquel.jimenez.encinar@cern.ch>).Jan 18 2011, 16:56