Commit Graph

13 Commits

Author SHA1 Message Date
Patrick J Cherry
06d78d4168 Scaled back the massive allocation of IPs from 11 /24s to 4.
Otherwise I get

Error: test_massively_parallel_IP_address_addition(TestAddr::TestWithNetlinkRouteSocket)
  Errno::EMFILE: Too many open files - socket(2)
  lib/linux/netlink/nlsocket.rb:61:in `initialize'
  lib/linux/netlink/nlsocket.rb:61:in `new'
  lib/linux/netlink/nlsocket.rb:61:in `initialize'
  lib/linux/netlink/route.rb:21:in `initialize'
  test/t_route.rb:54:in `new'
  test/t_route.rb:54:in `block (4 levels) in <class:TestAddr>'
2015-04-02 11:52:56 +01:00
Patrick J Cherry
2ceb0fbf6d Make sure link exists before proceeding with test 2015-04-02 11:44:40 +01:00
Patrick J Cherry
51b8bbcd8a Fixed new massive IP test thing to work with ruby1.8 and also non-root users 2015-04-01 23:05:41 +01:00
nick
4afbfa91c0 tests: Add a create-many-IPs-in-parallel test, as this is a common operation 2014-08-27 09:06:44 +01:00
nick
a8ad8c1e09 Fix the tests now that you can have multiple sockets open at once 2014-04-15 15:17:09 +01:00
nick
810c743583 Make the test helper path absolute 2014-04-15 13:49:18 +01:00
Patrick J Cherry
a16a66ccdd More test robustification 2013-09-11 15:44:25 +00:00
Patrick J Cherry
1772341df6 Robustification of tests. 2013-09-11 16:16:22 +01:00
Patrick J Cherry
32309e4797 Updated test to fall back to eth0 when trying to create a dummy interface 2013-09-11 14:37:40 +00:00
Patrick J Cherry
760b973303 Updated tests to operate on a dummy interface, rather than lo. 2013-07-05 13:51:48 +01:00
Brian Candler
aeed00a5d5 Fix for Errno::EOPNOTSUPP when adding vlan with Ubuntu 10.04 (32 or 64 bit) 2011-05-08 11:50:04 +01:00
Brian Candler
57b011b4cf Note about vlan problem on 10.04 2011-05-08 11:22:30 +01:00
Brian Candler
c0cb310761 Start of test suite 2011-05-06 21:43:19 +01:00