Skip to content

Commit

Permalink
patrol_develop_test: increase afterBuildCompletedTimeout from 2 to 4 …
Browse files Browse the repository at this point in the history
…minutes
  • Loading branch information
bartekpacia committed Nov 13, 2023
1 parent 1a150e4 commit c32910c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dev/cli_tests/patrol_develop_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void main() {
void main(List<String> args) async {
_verifyWorkingDirectory();

const afterBuildCompletedTimeout = Duration(minutes: 2);
const afterBuildCompletedTimeout = Duration(minutes: 4);
const inactivityTimeout = Duration(minutes: 15);

var isFirstTestPassed = false;
Expand Down Expand Up @@ -110,7 +110,9 @@ void main(List<String> 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:');
Expand Down

0 comments on commit c32910c

Please sign in to comment.