Skip to content

Commit

Permalink
add exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
BuonOmo committed Sep 5, 2024
1 parent d1a4e1e commit 2eef5aa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ end
gem "rails", github: "rails/rails", tag: "v#{activerecord_version}"

group :development do
gem "stackprof"
gem "minitest-excludes", "~> 2.0"

# Gems used by the ActiveRecord test suite
gem "bcrypt"
Expand Down
1 change: 0 additions & 1 deletion activerecord-postgis-adapter.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ Gem::Specification.new do |spec|

spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "minitest", "~> 5.4"
spec.add_development_dependency "mocha", "~> 2.4"
spec.add_development_dependency "benchmark-ips", "~> 2.12"
spec.add_development_dependency "rubocop", "~> 1.50"

Expand Down
4 changes: 4 additions & 0 deletions test/excludes/MultiDbMigratorTest.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
exclude :test_migrator_forward, "Hangs indefinitely. Doesn't care about timeout"
exclude :test_get_all_versions, "Hangs indefinitely. Doesn't care about timeout"
exclude :test_finds_pending_migrations, "Hangs indefinitely. Doesn't care about timeout"
exclude :test_migrator_db_has_no_schema_migrations_table, "Too slow, something's wrong."
4 changes: 2 additions & 2 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
Bundler.require :development
require "minitest/autorun"
require "minitest/pride"
require "mocha/minitest"
require "minitest/excludes"

require "erb"
require "byebug" if ENV["BYEBUG"]
require "activerecord-postgis-adapter"
Expand Down Expand Up @@ -65,7 +66,6 @@ class SpatialModel < ActiveRecord::Base
end

require 'timeout'
require 'stackprof'

module TestTimeoutHelper
def time_it
Expand Down

0 comments on commit 2eef5aa

Please sign in to comment.