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
Test VM exceptionError bug #1168
Conversation
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more. |
@alcuadrado ok, this doesn't affect VM test run behavior at all. I would cautiously say we could eventually merge this. From my understanding of the whole coherences I would assume that the effect of this would essentially be that if you guys or we directly in the VM have a bug in the code (e.g. in a custom state manager), this would directly break and trickle up and not be disguised any more and so the effect from this would be that it will get easier to have these kind of failures fixed? Is this correct? |
What's the status of this PR? I'm thinking we can add a test to ensure that non-VmErrors propagate through as expected, then it can be ready to merge in? Codecov didn't give any coverage warning on the newly added lines in this PR so I'm wondering if the code path is already being covered, I'd be interested to see. |
@ryanio I think this can be merged. The suggestion on setting up a test is great 😄 , what would be good setup here? I was thinking about subclassing The other way for adding a test here might be the usage of the Any preference here respectively suggestion? |
@ryanio short ping (see last question) 😄 (also feel free to add a test yourself if you have an easy idea here) |
d0a2337
to
c36bf64
Compare
rebased this, ok let me know what you think of the added tests. tried to keep it as simple as possible and used @alcuadrado's original suggestion in the issue to throw an error from |
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.
Yeah, nice, this looks really good, will merge. 😄 👍
Also a somewhat really core-centered change (like the recent and discussed StateManager
changes) with some potential to cause some reactions once released, but I guess very much net-positive since either a) people will discover own bugs in their customizations which were previously hidden or b) people might report bugs we still have in the VM.
So really excited about this change, long overdue! 🎉
(will merge by admin-merge since technically reviewed by @ryanio by continuing the work)
} | ||
st.end() | ||
}) | ||
}) |
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.
Ah, yeah, really nice test cases! 😄
This is testing behavior along a potential bug fix for #1157, do not merge.