rusEFI console does not stay alive #3912

test infrastructure progress
This commit is contained in:
rusefillc 2022-02-11 10:20:10 -05:00
parent 1bdbad9ea6
commit fd3bb9719f
1 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ import java.util.concurrent.CountDownLatch;
public class SerialSandbox { public class SerialSandbox {
public static void main(String[] args) { public static void main(String[] args) {
// todo: open issue #1
BinaryProtocol.tsOutputSize = 100; BinaryProtocol.tsOutputSize = 100;
long startTime = System.currentTimeMillis(); long startTime = System.currentTimeMillis();
@ -25,7 +26,7 @@ public class SerialSandbox {
}); });
LinkManager linkManager = new LinkManager() LinkManager linkManager = new LinkManager()
.setNeedPullText(false) .setNeedPullText(false) // todo: open issue #2
.setNeedPullLiveData(true); .setNeedPullLiveData(true);
CountDownLatch connected = linkManager.connect(port); CountDownLatch connected = linkManager.connect(port);
if (connected.getCount() > 0) if (connected.getCount() > 0)