-
Notifications
You must be signed in to change notification settings - Fork 301
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
dlt_unit_test: Fix and improve quality of unit tests #494
dlt_unit_test: Fix and improve quality of unit tests #494
Conversation
minminlittleshrimp
commented
Jun 6, 2023
•
edited
Loading
edited
- Fix issues offline log unit test fail when not trigger gzip feature
- Add timeout to prevent timeout silently ignored
- Limit dlt_user final test suite to 5 seconds
- Fix wrongly triggered gtests with environment (gateway+offline)
More detail about this fix:Docker image: ubuntu-bionic 18.04 from dockerhub Running a fully ctest verbose and observed:
=> timeout silently ignored After applying the fix: Branch fix_gtest_offline_log
|
15s where a bit overly cautious, if there is something broken the test should fail in the 5s you set as timeout, if it doesn't break anything i'd increase to 7s or so just to have a bit more safety margin. |
The closed PR: #496 is now fixed with new commit version of this PR. To check the change, please kindly try to run $ctest -V and observe gtests running.
|
+ Fix issues offline log unit test fail when not trigger gzip feature + Add timeout to prevent timeout silently ignored + Limit dlt_user final test suite to 5 seconds + Fix wrongly triggered gtests with environment (gateway+offline) Signed-off-by: Luu Quang Minh <[email protected]>
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.
Looks good to me. Thank you very much.