From 14b20ce9b38314943dcaf73b8dab7508b70ba487 Mon Sep 17 00:00:00 2001 From: Godfrey Chan Date: Thu, 26 Nov 2015 10:31:52 -0800 Subject: Upgrade to listen 3.0.5, re-enable tests In listen 3.0.4 and below, the `#stop` method on the notification backends are a no-op, meaning that we are leaking them per test. This ended up triggering another bug in Ruby that causes our builds to fail randomly on CI. listen bug: https://github.com/guard/listen/issues/353 ruby bug: https://bugs.ruby-lang.org/issues/11744 --- activesupport/test/file_evented_update_checker_test.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'activesupport') diff --git a/activesupport/test/file_evented_update_checker_test.rb b/activesupport/test/file_evented_update_checker_test.rb index ec3a7e28f3..071449d399 100644 --- a/activesupport/test/file_evented_update_checker_test.rb +++ b/activesupport/test/file_evented_update_checker_test.rb @@ -5,11 +5,6 @@ require 'file_update_checker_shared_tests' class FileEventedUpdateCheckerTest < ActiveSupport::TestCase include FileUpdateCheckerSharedTests - def setup - skip if ENV['LISTEN'] == '0' - super - end - def new_checker(files = [], dirs = {}, &block) ActiveSupport::FileEventedUpdateChecker.new(files, dirs, &block).tap do wait -- cgit v1.2.3