From c32910c2517acfa3625db4660114c63db59034a4 Mon Sep 17 00:00:00 2001 From: Bartek Pacia Date: Mon, 13 Nov 2023 22:30:28 +0100 Subject: [PATCH] patrol_develop_test: increase afterBuildCompletedTimeout from 2 to 4 minutes --- dev/cli_tests/patrol_develop_test.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev/cli_tests/patrol_develop_test.dart b/dev/cli_tests/patrol_develop_test.dart index 9bb503b9f..c61102c66 100644 --- a/dev/cli_tests/patrol_develop_test.dart +++ b/dev/cli_tests/patrol_develop_test.dart @@ -38,7 +38,7 @@ void main() { void main(List args) async { _verifyWorkingDirectory(); - const afterBuildCompletedTimeout = Duration(minutes: 2); + const afterBuildCompletedTimeout = Duration(minutes: 4); const inactivityTimeout = Duration(minutes: 15); var isFirstTestPassed = false; @@ -110,7 +110,9 @@ void main(List args) async { if (stringOutput.contains('Completed building')) { inactivityTimer = Timer(afterBuildCompletedTimeout, () { - print('Two minutes of inactivity, something went wrong...'); + print( + '${afterBuildCompletedTimeout.inSeconds} seconds of inactivity, something went wrong...', + ); print('isFirstTestPassed: $isFirstTestPassed'); print('isReloaded: $isReloaded'); print('Running file:');