trigger and VSS hw integrated testing

#1668
This commit is contained in:
rusefi 2020-08-08 21:09:12 -04:00
parent c32c8d715d
commit 3ed85390af
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,7 @@ import java.util.function.Function;
import static com.rusefi.IoUtil.*; import static com.rusefi.IoUtil.*;
import static com.rusefi.TestingUtils.*; import static com.rusefi.TestingUtils.*;
import static com.rusefi.binaryprotocol.BinaryProtocol.sleep;
import static com.rusefi.config.generated.Fields.*; import static com.rusefi.config.generated.Fields.*;
import static com.rusefi.waves.EngineReport.isCloseEnough; import static com.rusefi.waves.EngineReport.isCloseEnough;
@ -82,7 +83,10 @@ public class AutoTest extends BaseTest {
} }
private void testV12() { private void testV12() {
sendCommand(getDisableCommand(Fields.CMD_SELF_STIMULATION));
sleep(3 * Timeouts.SECOND);
setEngineType(40); setEngineType(40);
sendCommand(getEnableCommand(Fields.CMD_SELF_STIMULATION));
changeRpm(700); changeRpm(700);
// first let's get to expected RPM // first let's get to expected RPM
assertRpmDoesNotJump(15000, 15, 30, FAIL, commandQueue); assertRpmDoesNotJump(15000, 15, 30, FAIL, commandQueue);