Revert "Reduce noise on the memory benchmarks" (#20158)
* Revert "Add pub cache, artifacts, pkgs to Cirrus cache (#20080)" This reverts commit07e93b385c. * Revert "Reduce noise on the memory benchmarks (#19630)" This reverts commit8eb5cb7dc0.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user