[#84867] [Ruby trunk Bug#14357] thread_safe tests suite segfaults — v.ondruch@...

Issue #14357 has been reported by vo.x (Vit Ondruch).

11 messages 2018/01/15

[#84980] [Ruby trunk Feature#13618][Assigned] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — hsbt@...

Issue #13618 has been updated by hsbt (Hiroshi SHIBATA).

10 messages 2018/01/23
[#85012] Re: [Ruby trunk Feature#13618][Assigned] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — Eric Wong <normalperson@...> 2018/01/23

hsbt@ruby-lang.org wrote:

[ruby-core:84763] [Ruby trunk Feature#14340] [PATCH/RFC] exclude expensive MDNS test

From: zn@...
Date: 2018-01-09 11:42:08 UTC
List: ruby-core #84763
Issue #14340 has been updated by znz (Kazuhiro NISHIYAMA).


How about adding timeouts instead of excluding?

~~~ruby
require 'resolv'
mdns = Resolv::MDNS.new
mdns.timeouts = 1.0
mdns.each_resource '_http._tcp.local', Resolv::DNS::Resource::IN::PTR do |r|
  srv = mdns.getresource r.name, Resolv::DNS::Resource::IN::SRV
  mdns.each_address(srv.target) do |result|
    p(result)
  end
end
~~~

----------------------------------------
Feature #14340: [PATCH/RFC] exclude expensive MDNS test
https://bugs.ruby-lang.org/issues/14340#change-69480

* Author: normalperson (Eric Wong)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
test/excludes: exclude expensive MDNS resolv test

This test takes around 80s on my Debian GNU/Linux systems, not
sure if there's a misconfiguration on my part or a bug
somewhere.  Other opinions wanted (I am not knowledgeable with
MDNS stuff at all)

* test/excludes/TestResolvMDNS.rb: new exclude


---Files--------------------------------
0001-test-excludes-exclude-expensive-MDNS-resolv-test.patch (871 Bytes)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next