Actions
Bug #7274
closedDHCP tests failing due to date mismatch
Description
1) Failure: test_api_02_get_network(DhcpApiTest) [/var/lib/workspace/workspace/test_proxy_develop/puppet/2.7.0/ruby/1.9.2/test/dhcp/dhcp_api_test.rb:58]: <{"reservations"=> [{"hostname"=>"test.example.com", "ip"=>"192.168.122.1", "mac"=>"00:11:bb:cc:dd:ee"}], "leases"=> [{"ip"=>"192.168.122.2", "mac"=>"00:aa:bb:cc:dd:ee", "starts"=>"2014-07-12 10:08:29 UTC", "ends"=>nil, "state"=>"active"}]}> expected but was <{"reservations"=> [{"hostname"=>"test.example.com", "ip"=>"192.168.122.1", "mac"=>"00:11:bb:cc:dd:ee"}], "leases"=> [{"ip"=>"192.168.122.2", "mac"=>"00:aa:bb:cc:dd:ee", "starts"=>"2014-07-12 10:08:29 +0000", "ends"=>nil, "state"=>"active"}]}>. 2) Failure: test_api_08_create_record_new(DhcpApiTest) [/var/lib/workspace/workspace/test_proxy_develop/puppet/2.7.0/ruby/1.9.2/test/dhcp/dhcp_api_test.rb:172]: <{"reservations"=> [{"hostname"=>"test.example.com", "ip"=>"192.168.122.1", "mac"=>"00:11:bb:cc:dd:ee"}, {"hostname"=>"ten.example.com", "ip"=>"192.168.122.10", "mac"=>"10:10:10:10:10:10"}], "leases"=> [{"ip"=>"192.168.122.2", "mac"=>"00:aa:bb:cc:dd:ee", "starts"=>"2014-07-12 10:08:29 UTC", "ends"=>nil, "state"=>"active"}]}> expected but was <{"reservations"=> [{"hostname"=>"test.example.com", "ip"=>"192.168.122.1", "mac"=>"00:11:bb:cc:dd:ee"}, {"hostname"=>"ten.example.com", "ip"=>"192.168.122.10", "mac"=>"10:10:10:10:10:10"}], "leases"=> [{"ip"=>"192.168.122.2", "mac"=>"00:aa:bb:cc:dd:ee", "starts"=>"2014-07-12 10:08:29 +0000", "ends"=>nil, "state"=>"active"}]}>.
It appears the format of the dates has changed - UTC is now +0000 in some of the responses.
After a bundle update, I reproduced this locally. The following changes were made:
- Installing ffi-yajl 1.1.0 (was 1.0.2)
- Installing ohai 7.2.4 (was 7.2.0)
- Installing plist 3.1.0
- Installing chef 11.14.6 (was 11.14.2)
Updated by Dominic Cleal over 10 years ago
- Status changed from New to Assigned
- Assignee set to Dominic Cleal
Updated by The Foreman Bot over 10 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/smart-proxy/pull/207 added
- Pull request deleted (
)
Updated by Dominic Cleal over 10 years ago
- Translation missing: en.field_release set to 10
Updated by Dominic Cleal over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset ce9a075cd9c40353a91834ef765211b14495215f.
Actions