Closed fdocr closed 4 years ago
Describe the bug The metadata sent in a notifier sends times above 60s with incorrect format.
To Reproduce Steps to reproduce the behavior:
Sample config file
Expected behavior A format similar to 0h 21m 11s
0h 21m 11s
Environment Please complete the following information
Ubuntu 19.04
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
rvm 1.29.9 (manual) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
Additional context This might have something to do with rounding float numbers (round up/down as needed) in the lib/martilla/utilities.rb methods.
lib/martilla/utilities.rb
Describe the bug The metadata sent in a notifier sends times above 60s with incorrect format.
To Reproduce Steps to reproduce the behavior:
Sample config file
Expected behavior A format similar to
0h 21m 11s
Environment Please complete the following information
Ubuntu 19.04
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
rvm 1.29.9 (manual) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
Additional context This might have something to do with rounding float numbers (round up/down as needed) in the
lib/martilla/utilities.rb
methods.