Change license endpoint #350
Annotations
5 errors
|
spec/helpers/unit/provider/elasticsearch_rest_shared_examples.rb#L40
Puppet::Type::Elasticsearch_license::ProviderRuby licenses returns licenses
Failure/Error:
expect(described_class.instances.map do |provider|
provider.instance_variable_get(:@property_hash)
end).to match_array(instance)
expected collection contained: [{:content=>{"licenses"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>14119488000...id"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"xpack", :provider=>:ruby}]
actual collection contained: [{:content=>{"license"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>141194880000...uid"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"ruby", :provider=>:ruby}]
the missing elements were: [{:content=>{"licenses"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>14119488000...id"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"xpack", :provider=>:ruby}]
the extra elements were: [{:content=>{"license"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>141194880000...uid"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"ruby", :provider=>:ruby}]
Shared Example Group: "REST API" called from ./spec/unit/provider/elasticsearch_license/xpack_spec.rb:89
|
spec/helpers/unit/provider/elasticsearch_rest_shared_examples.rb#L55
Puppet::Type::Elasticsearch_license::ProviderRuby basic authentication authenticates
Failure/Error:
expect(described_class.api_objects(
'http', 'localhost', '9200', 10, 'elastic', 'password', validate_tls: true
).map do |provider|
described_class.new(
provider
).instance_variable_get(:@property_hash)
end).to contain_exactly(example1)
expected collection contained: [{:content=>{"licenses"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>14119488000...id"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"xpack", :provider=>:ruby}]
actual collection contained: [{:content=>{"license"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>141194880000...uid"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"ruby", :provider=>:ruby}]
the missing elements were: [{:content=>{"licenses"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>14119488000...id"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"xpack", :provider=>:ruby}]
the extra elements were: [{:content=>{"license"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>141194880000...uid"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"ruby", :provider=>:ruby}]
Shared Example Group: "REST API" called from ./spec/unit/provider/elasticsearch_license/xpack_spec.rb:89
|
spec/helpers/unit/provider/elasticsearch_rest_shared_examples.rb#L77
Puppet::Type::Elasticsearch_license::ProviderRuby https uses ssl
Failure/Error:
expect(described_class.api_objects(
'https', 'localhost', '9200', 10, validate_tls: true
).map do |provider|
described_class.new(
provider
).instance_variable_get(:@property_hash)
end).to contain_exactly(example1)
expected collection contained: [{:content=>{"licenses"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>14119488000...id"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"xpack", :provider=>:ruby}]
actual collection contained: [{:content=>{"license"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>141194880000...uid"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"ruby", :provider=>:ruby}]
the missing elements were: [{:content=>{"licenses"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>14119488000...id"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"xpack", :provider=>:ruby}]
the extra elements were: [{:content=>{"license"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>141194880000...uid"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"ruby", :provider=>:ruby}]
Shared Example Group: "REST API" called from ./spec/unit/provider/elasticsearch_license/xpack_spec.rb:89
|
|
This job was cancelled
Loading