From 1fff866dd1239ff861574ed186e76bdbb166cff1 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Sat, 3 Apr 2021 23:11:30 +0200 Subject: [PATCH] Exclude encryption performance tests from isolated runs Encryption performance tests were meant to be excluded from the builds, however they were still being executed when running `isolated:` tests for active record adapters. See https://buildkite.com/rails/rails/builds/76249#e7605d50-87be-445e-a9ae-a5761c996597/1512-1531 --- activerecord/Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/Rakefile b/activerecord/Rakefile index 9443a2f930..40c1eb9b3f 100644 --- a/activerecord/Rakefile +++ b/activerecord/Rakefile @@ -112,7 +112,7 @@ end test_options = ENV["TESTOPTS"].to_s.split(/[\s]+/) test_files = (Dir["test/cases/**/*_test.rb"].reject { - |x| x.include?("/adapters/") + |x| x.include?("/adapters/") || x.include?("/encryption/performance") } + Dir["test/cases/adapters/#{adapter_short}/**/*_test.rb"]).sort if ENV["BUILDKITE_PARALLEL_JOB_COUNT"]