Actions
Bug #13129
closedIntermittent failures in native MS test_records_should_have_options tests
Description
Intermittent test failures on Ruby 1.8.7 from the following two native MS DHCP tests:
undefined method `[]' for nil:NilClass (NoMethodError) /var/lib/workspace/workspace/test_proxy_develop_pr_core/puppet/2.6.0/ruby/1.8.7/modules/dhcp_native_ms/dhcp_native_ms_main.rb:148:in `loadRecordOptions' /var/lib/workspace/workspace/test_proxy_develop_pr_core/puppet/2.6.0/ruby/1.8.7/test/dhcp_ms_native/server_ms_test.rb:188:in `test_records_should_have_options'
undefined method `[]' for nil:NilClass (NoMethodError) /var/lib/workspace/workspace/test_proxy_develop_pr_core/puppet/2.6.0/ruby/1.8.7/modules/dhcp_native_ms/dhcp_native_ms_main.rb:148:in `loadRecordOptions' /var/lib/workspace/workspace/test_proxy_develop_pr_core/puppet/2.6.0/ruby/1.8.7/test/dhcp_ms_native/server_ms_test.rb:196:in `test_records_should_have_options_and_values'
It appears that @subnet_service.all_leases("172.29.205.0").first
is likely returning nil.
Actions