-
Notifications
You must be signed in to change notification settings - Fork 3k
RTC time conversion test - reduce test execution time. #5802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…reduce test execution time. For each of the following years test example time of the first and last day of each month: - first - 1970 - example not leap year (not divisible by 4) - example leap year (divisible by 4 and by 100 and by 400) - example leap year (divisible by 4 and not by 100) - example not leap year (divisible by 4 and by 100) - last fully supported - 2105 Test execution time on K64F is now ~39 sec.
/morph build |
Build : SUCCESSBuild number : 812 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 462 |
Test : SUCCESSBuild number : 652 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job on lowering the execution time.
Is there a reason that self.notify_complete(False) isn't present after e725b4c#diff-f51e22d57406e551f8f327cbf2119b77R120 ?
Also, is there a reason that a single timestamp is compared at once, instead doing all comparisons with a single kv transaction?
There is no reason. Do we need this?
Yes, there is a reason. This test verifies two functions |
I was thinking that we did, but it looks I was mistaken. The reasoning for the test messaging makes sense. I had originally wanted to simply the back and forth traffic to make logging a bit cleaner, but it's not a high priority. |
This is dependent on #5363 scheduled for 5.8. Thus this also needs to go to 5.8. |
Description
Reduce number of tested cases as follows:
For each of the following years test example time of the first and last day of each month:
Test execution time on K64F is now ~39 sec.
Status
READY
Migrations
NO