Compare commits
1 Commits
debian/str
...
0.17-1+whe
Author | SHA1 | Date | |
---|---|---|---|
![]() |
0e2fa83a72 |
12
debian/changelog
vendored
12
debian/changelog
vendored
@@ -1,14 +1,8 @@
|
|||||||
ruby-linux-netlink (0.17-1+stretch1) testing; urgency=medium
|
ruby-linux-netlink (0.17-1+wheezy1) stable; urgency=medium
|
||||||
|
|
||||||
* Repackaged for stretch.
|
* New upstream release
|
||||||
|
|
||||||
-- Patrick J Cherry <patrick@bytemark.co.uk> Tue, 10 Nov 2015 13:39:37 +0000
|
-- Patrick J Cherry <patrick@bytemark.co.uk> Wed, 01 Apr 2015 22:44:51 +0100
|
||||||
|
|
||||||
ruby-linux-netlink (0.16-1+jessie1) testing; urgency=medium
|
|
||||||
|
|
||||||
* Repackaged for jessie
|
|
||||||
|
|
||||||
-- Patrick J Cherry <patrick@bytemark.co.uk> Wed, 01 Apr 2015 17:39:44 +0100
|
|
||||||
|
|
||||||
ruby-linux-netlink (0.16-1+wheezy1) stable; urgency=medium
|
ruby-linux-netlink (0.16-1+wheezy1) stable; urgency=medium
|
||||||
|
|
||||||
|
@@ -42,12 +42,8 @@ class TestAddr < Test::Unit::TestCase
|
|||||||
|
|
||||||
test "massively parallel IP address addition" do
|
test "massively parallel IP address addition" do
|
||||||
@ifname = create_test_interface
|
@ifname = create_test_interface
|
||||||
return if @ifname.nil?
|
|
||||||
|
|
||||||
link = @ip.link.list.find{|x| x.ifname == @ifname}
|
ips = (10..20).map {|y| (1..254).map {|z| "10.100.#{y}.#{z}" } }.flatten.compact
|
||||||
return if link.nil?
|
|
||||||
|
|
||||||
ips = (10..13).map {|y| (1..254).map {|z| "10.100.#{y}.#{z}" } }.flatten.compact
|
|
||||||
|
|
||||||
threads = ips.map {|ip|
|
threads = ips.map {|ip|
|
||||||
Thread.new {
|
Thread.new {
|
||||||
@@ -59,8 +55,7 @@ class TestAddr < Test::Unit::TestCase
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
threads.map{|t| t.join }
|
threads.map(&:join)
|
||||||
|
|
||||||
created = @ip.addr.list(:index => @ifname, :family => Socket::AF_INET).
|
created = @ip.addr.list(:index => @ifname, :family => Socket::AF_INET).
|
||||||
map {|ifaddr| ifaddr.address.to_s }
|
map {|ifaddr| ifaddr.address.to_s }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user