Prevent testcases that access the internet to run

Some testcases (test/http_streaming_response_test.rb and
test/rack_proxy_test.rb) try to access the internet, but that is
against Debian Policy guidelines, and therefore we need to disable
them.

Closes: #860198
This commit is contained in:
Sergio Durigan Junior 2018-02-11 18:08:36 -05:00
parent a5b0bebb61
commit 859759267c

View file

@ -2,5 +2,5 @@ require 'gem2deb/rake/testtask'
Gem2Deb::Rake::TestTask.new do |t|
t.libs = ['test']
t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb'] - FileList['test/net_http_hacked_test.rb']
t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb'] - FileList['test/net_http_hacked_test.rb'] - FileList['test/http_streaming_response_test.rb'] - FileList['test/rack_proxy_test.rb']
end