From a333ba3f7f24dff3c50c7cf26a2fe2caa748a851 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Fri, 22 Feb 2019 18:50:13 +0900 Subject: Skip `test_select_with_subquery_in_from_uses_original_table_name` on Buildkite as well https://buildkite.com/rails/rails/builds/58981#2423c707-7c56-4639-a76e-8db4fd1e5cf3/102-111 --- activerecord/test/cases/relations_test.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'activerecord/test/cases') diff --git a/activerecord/test/cases/relations_test.rb b/activerecord/test/cases/relations_test.rb index 1781a015bc..b27815539b 100644 --- a/activerecord/test/cases/relations_test.rb +++ b/activerecord/test/cases/relations_test.rb @@ -207,8 +207,11 @@ class RelationTest < ActiveRecord::TestCase end def test_select_with_subquery_in_from_uses_original_table_name - if current_adapter?(:SQLite3Adapter) && ENV["TRAVIS"] - skip "https://travis-ci.org/rails/rails/jobs/496726410#L1198-L1208" + if current_adapter?(:SQLite3Adapter) && (ENV["TRAVIS"] || ENV["BUILDKITE"]) + skip <<~MSG + https://travis-ci.org/rails/rails/jobs/496726410#L1198-L1208 + https://buildkite.com/rails/rails/builds/58981#2423c707-7c56-4639-a76e-8db4fd1e5cf3/102-111 + MSG end relation = Comment.joins(:post).select(:id).order(:id) subquery = Comment.from(Comment.all, Comment.quoted_table_name).joins(:post).select(:id).order(:id) -- cgit v1.2.3