Partially revert 14b20ce
The failure have returned, so disabling the tests again. (The upgrade is fine to keep.)
This commit is contained in:
parent
6be6d8d234
commit
9d7d12c004
|
@ -5,6 +5,11 @@ require 'file_update_checker_shared_tests'
|
||||||
class FileEventedUpdateCheckerTest < ActiveSupport::TestCase
|
class FileEventedUpdateCheckerTest < ActiveSupport::TestCase
|
||||||
include FileUpdateCheckerSharedTests
|
include FileUpdateCheckerSharedTests
|
||||||
|
|
||||||
|
def setup
|
||||||
|
skip if ENV['LISTEN'] == '0'
|
||||||
|
super
|
||||||
|
end
|
||||||
|
|
||||||
def new_checker(files = [], dirs = {}, &block)
|
def new_checker(files = [], dirs = {}, &block)
|
||||||
ActiveSupport::FileEventedUpdateChecker.new(files, dirs, &block).tap do
|
ActiveSupport::FileEventedUpdateChecker.new(files, dirs, &block).tap do
|
||||||
wait
|
wait
|
||||||
|
|
10
ci/travis.rb
10
ci/travis.rb
|
@ -111,8 +111,14 @@ class Build
|
||||||
end
|
end
|
||||||
|
|
||||||
def env
|
def env
|
||||||
# Provide extra ENV variables for the build here
|
if activesupport? && !isolated?
|
||||||
{}
|
# There is a known issue with the listen tests that casuses files to be
|
||||||
|
# incorrectly GC'ed even when they are still in-use. The current is to
|
||||||
|
# only run them in isolation to avoid randomly failing our test suite.
|
||||||
|
{ 'LISTEN' => '0' }
|
||||||
|
else
|
||||||
|
{}
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def run_bug_report_templates
|
def run_bug_report_templates
|
||||||
|
|
Loading…
Reference in New Issue