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

This commit is contained in:
Dan Field
2021-06-23 07:17:28 -07:00
committed by GitHub
parent 5a83c87473
commit b96c3c22ce
22 changed files with 18 additions and 35 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'), timeout: Duration.zero);
await driver.waitForAbsent(find.byType('PerformanceOverlay'));
});
}

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'), timeout: Duration.zero);
await driver.waitFor(find.byType('PerformanceOverlay'));
});
}

View File

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

View File

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