more minimal version of fix trigger replay #2874

This commit is contained in:
Andrey 2021-06-27 11:38:42 -04:00
parent 30bdfe323e
commit 43e71c12fa
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ void CsvReader::processLine(EngineTestHelper *eth) {
trigger_event_e event =
(newState[index] ? riseEvents : fallEvents)[index];
efitick_t nowNt = getTimeNowNt();
engine->triggerCentral.handleShaftSignal(event, nowNt PASS_ENGINE_PARAMETER_SUFFIX);
handleShaftSignal2(event, nowNt PASS_ENGINE_PARAMETER_SUFFIX);
currentState[index] = newState[index];
}

View File

@ -23,7 +23,7 @@ TEST(crankingVW, vwRealCrankingFromFile) {
reader.processLine(&eth);
}
ASSERT_EQ( 3, eth.recentWarnings()->getCount())<< "warningCounter#vwRealCranking";
ASSERT_EQ( 1, eth.recentWarnings()->getCount())<< "warningCounter#vwRealCranking";
ASSERT_EQ( 1683, GET_RPM())<< reader.lineIndex;
}