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
don't rely on triggerStateListener to detect trigger errors #4164
Conversation
once/if we are happy with this change can we merge test-only or mostly-test part first and then merge production code as separate merge? |
yeah, I already had to break part off in to #4165 |
This PR has a functional change at the moment? Split one green PR into two green PRs? |
@@ -141,8 +140,8 @@ TEST(trigger, testNB2CamInput) { | |||
|
|||
int totalRevolutionCountBeforeVvtSync = 5; | |||
// need to be out of VVT sync to see VVT sync in action | |||
eth.fireRise(25); | |||
eth.fireRise(25); | |||
eth.fireRise(25 * 70 / 180); |
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.
Hah! Mistake in the test caught by this change.
Check that various sync problems cause
getShaftSynchronized()
to return false.