spam the log less

This commit is contained in:
Matthew Kennedy 2023-03-03 01:44:38 -08:00
parent 6289415f61
commit 752208e523
1 changed files with 3 additions and 3 deletions

View File

@ -107,14 +107,14 @@ public class TestingUtils {
public static EngineChart nextChart(CommandQueue commandQueue) {
long start = System.currentTimeMillis();
EngineChart chart = EngineChartParser.unpackToMap(getNextWaveChart(commandQueue));
FileLog.MAIN.logLine("AUTOTEST nextChart() in " + (System.currentTimeMillis() - start));
// FileLog.MAIN.logLine("AUTOTEST nextChart() in " + (System.currentTimeMillis() - start));
return chart;
}
static String getNextWaveChart(CommandQueue commandQueue) {
IoUtil.sendBlockingCommand(Fields.CMD_RESET_ENGINE_SNIFFER, commandQueue);
String result = getEngineChart(commandQueue);
FileLog.MAIN.logLine("current chart: " + result);
// FileLog.MAIN.logLine("current chart: " + result);
return result;
}
@ -129,7 +129,7 @@ public class TestingUtils {
final AtomicReference<String> result = new AtomicReference<>();
FileLog.MAIN.logLine("waiting for next chart");
// FileLog.MAIN.logLine("waiting for next chart");
commandQueue.getLinkManager().getEngineState().replaceStringValueAction(EngineReport.ENGINE_CHART, new EngineState.ValueCallback<String>() {
@Override
public void onUpdate(String value) {