Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upStaleIn can be function. #105
Conversation
9ea38d5
to
e1e469f
This comment has been minimized.
This comment has been minimized.
It would be great if this pull request would make it to hapi 8.0. Let me know if there is something I should change/improve. |
This comment has been minimized.
This comment has been minimized.
Need to fix the test for and coverage. |
This comment has been minimized.
This comment has been minimized.
If you run test on catbox Master it will fail occasionally. Likely because of tight timing.. I thought that I identified it in #106, but I just test this adjustment again and it still fails occasionally, so I probably just had lucky row.. Generally relying on 1ms difference in timing seems to be unreliable. I will try to identify which test(s) is causing this. Is there actually trick how can I see which tests are going through particular line? That would help me to narrow the search. |
This comment has been minimized.
This comment has been minimized.
The problem is not timing but problem with the test under the new code module. Look at the specific error. |
e1e469f
to
44c59cf
This comment has been minimized.
This comment has been minimized.
Right, this is updated. With regards to timing reliability. Tests on Master are reliable once I switch off everything (including spotify :) ), with higher cpu load timing gets crazy, which is fair enough. I understand that its about having balance between reliability and tests duration. This pull request tend to fails occasionally (about 30% failure rate) with
Which is when this if is not true:
So I spend half day trying to understand the cause. I thought that Anyway #106 updates timing for this particular failure, so it works properly. I am basically just trying justify here, that this occasional failure seems to be caused by adding tests, not by tests or code itself. I hope I am not wrong.. |
jardakotesovec commentedOct 15, 2014
Replaces #94 #96 . Let me know if there is something to tweak. I did not want to get too crazy with tests, so let me know if you also find this as sufficient.
Thanks