Looking only for eth* in rps_cpus ()

Problem:
netconfig_post rb foolow checks failed on controller
* test_rps_cpus_set
* test_rps_cpus_config

Caused by: we include vrouter-host and other
not physical-interface in checks
so start to look at eth* interfaces only

Fuel-CI: disable

Change-Id: Id96aaf32fad8dc5e7bf14a4bedf3c795518dfd21
Closes-Bug: #1433087
This commit is contained in:
Tatyana Leontovich 2015-06-22 14:22:30 +03:00
parent f1fed17389
commit b7c47f74bd

View File

@ -40,7 +40,7 @@ class NetconfigPostTest < Test::Unit::TestCase
end
def rps_cpus
Dir.glob('/sys/class/net/*/queues/rx-*/rps_cpus').reject { |node| node.start_with? '/sys/class/net/lo' }
Dir.glob('/sys/class/net/eth*/queues/rx-*/rps_cpus')
end
def test_rps_cpus_set