Revert "Remove per-test timeouts from integration tests (#85098)" (#85133)

This reverts commit b96c3c22ce.
This commit is contained in:
Dan Field
2021-06-23 08:17:27 -07:00
committed by GitHub
parent b96c3c22ce
commit 69f2f8a18b
22 changed files with 35 additions and 18 deletions

View File

@@ -18,6 +18,6 @@ void main() {
test('check that we are in normal mode', () async {
expect(await driver.requestData('status'), 'log: paint');
await driver.waitForAbsent(find.byType('PerformanceOverlay'));
await driver.waitForAbsent(find.byType('PerformanceOverlay'), timeout: Duration.zero);
});
}

View File

@@ -18,6 +18,6 @@ void main() {
test('check that we are showing the performance overlay', () async {
await driver.requestData('status'); // force a reassemble
await driver.waitFor(find.byType('PerformanceOverlay'));
await driver.waitFor(find.byType('PerformanceOverlay'), timeout: Duration.zero);
});
}

View File

@@ -18,6 +18,6 @@ void main() {
await driver.close();
});
test('empty', () async {});
test('empty', () async {}, timeout: const Timeout(Duration(minutes: 1)));
});
}

View File

@@ -48,6 +48,6 @@ void main() {
imageBefore = imageAfter;
}
});
}, timeout: const Timeout(Duration(minutes: 2)));
});
}