From 3af88c55509eb5ab8d5ea52f25bb8304361f6204 Mon Sep 17 00:00:00 2001 From: Dan Field Date: Fri, 8 Mar 2019 16:12:27 -0800 Subject: [PATCH] add heartbeat (#29056) --- dev/bots/test.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev/bots/test.dart b/dev/bots/test.dart index 509120cc1b..45666f6228 100644 --- a/dev/bots/test.dart +++ b/dev/bots/test.dart @@ -473,7 +473,12 @@ Future _processTestOutput( Stream testOutput, bq.TabledataResourceApi tableData, ) async { + final Timer heartbeat = Timer.periodic(const Duration(seconds: 30), (Timer timer) { + print('Processing...'); + }); + await testOutput.forEach(formatter.processRawOutput); + heartbeat.cancel(); formatter.finish(); if (tableData == null || formatter.tests.isEmpty) { return;