-
Hi. I'm a newbie, and I'm trying to understand degrade rules by implementing unit tests. I had no problem building a fully reproducible test scenario that shows the I'm a bit confused with the Could someone give me a sample code that could help me? Thanks ! PS : by the way that would be great if there were someting to programmatically reset all resource statistics, as I understand that they are stored in a global way somehow, which makes testing more difficult... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I was finally able to understand what was wrong. |
Beta Was this translation helpful? Give feedback.
I was finally able to understand what was wrong.
Actually my code was OK, but I had the rule's
statIntervalMs
left to its 1 second default.And of course, my unit test is taking about 1 second to run (as I'm testing timeouts...)...