Revert "Reduce noise on the memory benchmarks" (#20158)

* Revert "Add pub cache, artifacts, pkgs to Cirrus cache (#20080)"

This reverts commit 07e93b385c.

* Revert "Reduce noise on the memory benchmarks (#19630)"

This reverts commit 8eb5cb7dc0.
This commit is contained in:
Ian Hickson
2018-08-02 13:56:44 -07:00
committed by GitHub
parent 07e93b385c
commit a2ca14d71e
21 changed files with 220 additions and 564 deletions

View File

@@ -81,15 +81,12 @@ class _TaskRunner {
Future<TaskResult> run(Duration taskTimeout) async {
try {
_taskStarted = true;
print('Running task.');
final TaskResult result = await _performTask().timeout(taskTimeout);
_completer.complete(result);
return result;
} on TimeoutException catch (_) {
print('Task timed out after $taskTimeout.');
return new TaskResult.failure('Task timed out after $taskTimeout');
} finally {
print('Cleaning up after task...');
await forceQuitRunningProcesses();
_closeKeepAlivePort();
}