Index: tools/testing/dart/test_configurations.dart |
diff --git a/tools/testing/dart/test_configurations.dart b/tools/testing/dart/test_configurations.dart |
index 86169f4cbee4444094addc39aeaa1f98537ef643..e147a21cec8f333aa13b64de5c06e7513df127c0 100644 |
--- a/tools/testing/dart/test_configurations.dart |
+++ b/tools/testing/dart/test_configurations.dart |
@@ -62,7 +62,7 @@ Future testConfigurations(List<Map> configurations) async { |
var startTime = new DateTime.now(); |
// Extract global options from first configuration. |
var firstConf = configurations[0]; |
- var maxProcesses = firstConf['tasks']; |
+ var maxProcesses = firstConf['tasks'] as int; |
var progressIndicator = firstConf['progress']; |
BuildbotProgressIndicator.stepName = firstConf['step_name']; |
var verbose = firstConf['verbose']; |