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)
Actions