-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[microTVM][Zephyr] Fix: Test fails on hardware because of short timeout #8677
Conversation
@mehrdadh Hi! The PR title says the test fails because of short timeout but your fix is reducing it even further afaics? Also I miss a bit a better commit message explaining more about the "rational/background" for changes in question do. Of course, they are simple in essence but for instance, the commit "71dfd4b" only mentions a "fix" in the title. It would be good to at least mention the occasion when it happens (which hardware, if it always happen or not, etc) for the future when people would be looking at the commit via I think that a better elaboration of the commit messages in general will specially help others which are/will catch up with the TVM project. |
71dfd4b
to
2c0d528
Compare
@gromero thanks for your feedback. I changed the PR description with more details. |
I see now. You're changing values 5s (for writing) and 10s (for reading) for the transport both to 70s right? (You said 60s above but I see So what confused me is that in your first comment in the first commit of the patchset where you add the new parameter Your second commit message version is better but I think you could s/change/Increase/ and s/a reasonable value/70 seconds/ to inform to the readers more precisely what that commit does when applied (maybe next time, so feel free to change at will or only when you get more reviews). Anyways, just as an example, I would split them as:
Finally, about the code itself, just out of curiosity, I'm wondering if 70 seconds isn't too much for a device to reply in this case. In your experiments have you tried any smaller value? |
0ecf525
to
5fe23b2
Compare
5fe23b2
to
6b2c386
Compare
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.
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.
LGTM. Thanks.
…ut (apache#8677) * add timeout * rename timeout and change timeout to a reasonable value * fix tests after project api merge * retrigger because of flaktest
…ut (apache#8677) * add timeout * rename timeout and change timeout to a reasonable value * fix tests after project api merge * retrigger because of flaktest
Currently
test_zephyr_aot:test_tflite
fails on stm32l4r5zi_nucleo board because of short timeout. This PR adds option to pass timeout to _get_message function and we set it to be 60 seconds.cc @areusch @gromero