Comment 2 for bug 1455847

Revision history for this message
Aleksandr Didenko (adidenko) wrote :

We also need to fix unit tests for l23network and then we can enable them back into voting mode. Errors in l23network are:

Failures:

  1) function_get_network_role_property mtk should return NIL for "admin" network role
     Failure/Error: should run.with_params('admin', 'phys_dev').and_return(nil)
       expected get_network_role_property("admin", "phys_dev") to have returned nil instead of ["eth0"]
     # ./spec/functions/get_network_role_property__spec.rb:90:in `block (3 levels) in <top (required)>'

  2) function_get_transformation_property get_transformation_property('some_property', 'transformation') usage should return NIL for "eth2" transformation
     Failure/Error: should run.with_params('mtu', 'eth2').and_return(nil)
       expected get_transformation_property("mtu", "eth2") to have returned nil instead of 1024
     # ./spec/functions/get_transformation_property__spec.rb:120:in `block (3 levels) in <top (required)>'