Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Unified Diff: pkg/barback/test/package_graph/many_parallel_transformers_test.dart

Issue 107303004: Don't limit transformer parallelism in barback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/barback/lib/src/transform_node.dart ('k') | pkg/barback/test/transformer/mock.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/test/package_graph/many_parallel_transformers_test.dart
diff --git a/pkg/barback/test/package_graph/many_parallel_transformers_test.dart b/pkg/barback/test/package_graph/many_parallel_transformers_test.dart
index 72f19ac95a8028e6f135690347aa31737d0d6b0b..2d2123c8a80149f02caaf47ce343926294d5bdf8 100644
--- a/pkg/barback/test/package_graph/many_parallel_transformers_test.dart
+++ b/pkg/barback/test/package_graph/many_parallel_transformers_test.dart
@@ -14,7 +14,7 @@ main() {
test("handles many parallel transformers", () {
currentSchedule.timeout *= 3;
- var files = new List.generate(100, (i) => "app|$i.txt");
+ var files = new List.generate(1000, (i) => "app|$i.txt");
var rewrite = new RewriteTransformer("txt", "out");
initGraph(files, {"app": [[rewrite]]});
@@ -24,11 +24,9 @@ main() {
schedule(pumpEventQueue);
rewrite.resumeApply();
- for (var i = 0; i < 100; i++) {
+ for (var i = 0; i < 1000; i++) {
expectAsset("app|$i.out", "$i.out");
}
buildShouldSucceed();
-
- expect(rewrite.maxParallelRuns, completion(equals(10)));
});
}
« no previous file with comments | « pkg/barback/lib/src/transform_node.dart ('k') | pkg/barback/test/transformer/mock.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698