Skip to content

Commit 3dde7e7

Browse files
committed
Rebalance Railties tests
Some of the timings seem very outdated and the suites are far from well balanced. Hopefully this should shave a bit of time from CI.
1 parent 6f30cc0 commit 3dde7e7

File tree

1 file changed

+30
-22
lines changed

1 file changed

+30
-22
lines changed

railties/Rakefile

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,37 @@ task test: "test:isolated"
1212
namespace :test do
1313
task :isolated do
1414
estimated_duration = {
15-
"test/application/test_runner_test.rb" => 201,
16-
"test/application/assets_test.rb" => 131,
17-
"test/application/rake/migrations_test.rb" => 65,
18-
"test/generators/scaffold_generator_test.rb" => 57,
19-
"test/generators/plugin_test_runner_test.rb" => 57,
20-
"test/application/test_test.rb" => 52,
21-
"test/application/configuration_test.rb" => 49,
22-
"test/generators/app_generator_test.rb" => 43,
23-
"test/application/rake/dbs_test.rb" => 43,
15+
"test/application/test_runner_test.rb" => 179,
16+
"test/application/assets_test.rb" => 20,
17+
"test/application/rake/migrations_test.rb" => 90,
18+
"test/generators/scaffold_generator_test.rb" => 78,
19+
"test/generators/plugin_test_runner_test.rb" => 73,
20+
"test/application/test_test.rb" => 25,
21+
"test/application/configuration_test.rb" => 106,
22+
"test/generators/app_generator_test.rb" => 150,
23+
"test/application/rake/dbs_test.rb" => 82,
2424
"test/application/rake_test.rb" => 33,
25-
"test/generators/plugin_generator_test.rb" => 30,
26-
"test/railties/engine_test.rb" => 27,
27-
"test/generators/scaffold_controller_generator_test.rb" => 23,
28-
"test/railties/generators_test.rb" => 19,
29-
"test/application/console_test.rb" => 16,
30-
"test/engine/commands_test.rb" => 15,
31-
"test/application/routing_test.rb" => 15,
32-
"test/application/mailer_previews_test.rb" => 15,
33-
"test/application/rake/multi_dbs_test.rb" => 13,
34-
"test/application/asset_debugging_test.rb" => 12,
35-
"test/application/bin_setup_test.rb" => 11,
36-
"test/engine/test_test.rb" => 10,
37-
"test/application/runner_test.rb" => 10,
25+
"test/generators/plugin_generator_test.rb" => 37,
26+
"test/railties/engine_test.rb" => 39,
27+
"test/generators/scaffold_controller_generator_test.rb" => 27,
28+
"test/railties/generators_test.rb" => 25,
29+
"test/application/console_test.rb" => 20,
30+
"test/engine/commands_test.rb" => 17,
31+
"test/application/routing_test.rb" => 21,
32+
"test/application/mailer_previews_test.rb" => 20,
33+
"test/application/rake/multi_dbs_test.rb" => 100,
34+
"test/application/asset_debugging_test.rb" => 5,
35+
"test/application/bin_setup_test.rb" => 13,
36+
"test/engine/test_test.rb" => 16,
37+
"test/application/runner_test.rb" => 13,
38+
"test/commands/routes_test.rb" => 7,
39+
"test/application/initializers/i18n_test.rb" => 8,
40+
"test/application/middleware/cache_test.rb" => 7,
41+
"test/application/middleware_test.rb" => 10,
42+
"test/generators/test_runner_in_engine_test.rb" => 7,
43+
"test/application/initializers/frameworks_test.rb" => 18,
44+
"test/application/middleware/exceptions_test.rb" => 12,
45+
"test/application/content_security_policy_test.rb" => 5,
3846
}
3947
estimated_duration.default = 1
4048

0 commit comments

Comments
 (0)