You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good catch. We should either throw an error or allow seconds to be provided. I don't personally see much use for seconds; stress testing for 10s doesn't tell you anything, but there might be some valid cases for it around debugging like you've using there.
My use case was for integration tests in which I needed to verify that tlp-stress ran. Outside of that I agree that there is not much using for a duration < 60 sec.
I discover this while writing an integration test for my k8s operator. My test runs tlp-stress with the following args:
In the logs for my tlp-stress pod, I saw:
I confirmed that this is because
HumanReadableTimeConverter.convert
returnsduration.toMinutes()
.It is somewhat of a minor nit, but it might be worth documenting.
The text was updated successfully, but these errors were encountered: