hardware continues integration needs a high RPM high tooth count test case #1351

This commit is contained in:
rusefi 2020-04-23 11:59:50 -04:00
parent 3e5b8727ed
commit 1bf21deb2a
1 changed files with 6 additions and 6 deletions

View File

@ -74,23 +74,23 @@ public class AutoTest {
private static void testVW_60_2() {
setEngineType(32);
changeRpm(900);
// TODO: we shall get this RPM higher!
// first let's get to expected RPM
int rpm = 2000;
changeRpm(rpm);
assertRpmDoesNotJump(rpm);
assertRpmDoesNotJump(2000);
}
private static void testV12() {
setEngineType(40);
changeRpm(700);
// TODO: we shall get this RPM higher!
// first let's get to expected RPM
int rpm = 2100;
changeRpm(rpm);
assertRpmDoesNotJump(rpm);
assertRpmDoesNotJump(1700);
}
private static void assertRpmDoesNotJump(int rpm) {
changeRpm(rpm);
sleep(4);
AtomicReference failure = new AtomicReference();
SensorCentral.SensorListener listener = new SensorCentral.SensorListener() {
@Override