Clean up tests #31
Annotations
10 errors
spec/classes/init_spec.rb#L79
cassandra on centos-9-x86_64 with default parameters installs the cassandra package
Failure/Error:
expect(subject).to contain_package('cassandra').with(
ensure: 'present',
name: package_name
)
expected that the catalogue would contain Package[cassandra] with name set to "cassandra22" but it is set to "cassandra"
|
spec/classes/init_spec.rb#L86
cassandra on centos-9-x86_64 with default parameters contains cassandra class
Failure/Error:
expect(subject).to contain_class('cassandra').only_with(
baseline_settings: {},
cassandra_2356_sleep_seconds: 5,
cassandra_9822: false, # rubocop:disable Naming/VariableNumber
cassandra_yaml_tmpl: 'cassandra/cassandra.yaml.erb',
commitlog_directory_mode: '0750',
manage_config_file: true,
config_file_mode: '0644',
config_path: config_path,
data_file_directories_mode: '0750',
expected that the catalogue would contain Class[cassandra] with config_path set to "/etc/cassandra/default.conf" but it is set to "/etc/cassandra", and parameter package_name set to "cassandra22" but it is set to "cassandra"
Diff:
@@ -1,4 +1,4 @@
-/etc/cassandra/default.conf
+/etc/cassandra
-cassandra22
+cassandra
|
spec/classes/init_spec.rb#L158
cassandra on centos-9-x86_64 with default parameters creates config file and path
Failure/Error:
expect(subject).to contain_file(config_path).
with(
ensure: 'directory',
group: 'cassandra',
owner: 'cassandra',
mode: '0755'
).that_requires(config_path_requires)
expected that the catalogue would contain File[/etc/cassandra/default.conf]
|
spec/classes/init_spec.rb#L178
cassandra on centos-9-x86_64 with default parameters creates rackdc.properties correctly
Failure/Error:
expect(subject).to contain_file(dc_rack_properties_file).
with(
ensure: 'file',
owner: 'cassandra',
group: 'cassandra',
mode: '0644'
).
that_requires(dc_rack_properties_file_require).
that_comes_before(dc_rack_properties_file_before).
with_content(%r{^dc=DC1}).
expected that the catalogue would contain File[/etc/cassandra/default.conf/cassandra-rackdc.properties]
|
spec/classes/init_spec.rb#L292
cassandra on centos-9-x86_64 on RedHat with rackdc parameters configures rackdc correctly
Failure/Error:
expect(subject).to contain_file(dc_rack_properties_file_nondefault).
that_requires(dc_rack_properties_file_require).
that_comes_before(dc_rack_properties_file_before).
with_content(%r{^dc=NYC$}).
with_content(%r{^rack=R101$}).
with_content(%r{^dc_suffix=_1_cassandra$}).
with_content(%r{^prefer_local=true$})
expected that the catalogue would contain File[/etc/cassandra/default.conf/cassandra-topology.properties]
|
spec/classes/init_spec.rb#L79
cassandra on oraclelinux-7-x86_64 with default parameters installs the cassandra package
Failure/Error:
expect(subject).to contain_package('cassandra').with(
ensure: 'present',
name: package_name
)
expected that the catalogue would contain Package[cassandra] with name set to "cassandra22" but it is set to "cassandra"
|
spec/classes/init_spec.rb#L86
cassandra on oraclelinux-7-x86_64 with default parameters contains cassandra class
Failure/Error:
expect(subject).to contain_class('cassandra').only_with(
baseline_settings: {},
cassandra_2356_sleep_seconds: 5,
cassandra_9822: false, # rubocop:disable Naming/VariableNumber
cassandra_yaml_tmpl: 'cassandra/cassandra.yaml.erb',
commitlog_directory_mode: '0750',
manage_config_file: true,
config_file_mode: '0644',
config_path: config_path,
data_file_directories_mode: '0750',
expected that the catalogue would contain Class[cassandra] with config_path set to "/etc/cassandra/default.conf" but it is set to "/etc/cassandra", and parameter package_name set to "cassandra22" but it is set to "cassandra"
Diff:
@@ -1,4 +1,4 @@
-/etc/cassandra/default.conf
+/etc/cassandra
-cassandra22
+cassandra
|
spec/classes/init_spec.rb#L158
cassandra on oraclelinux-7-x86_64 with default parameters creates config file and path
Failure/Error:
expect(subject).to contain_file(config_path).
with(
ensure: 'directory',
group: 'cassandra',
owner: 'cassandra',
mode: '0755'
).that_requires(config_path_requires)
expected that the catalogue would contain File[/etc/cassandra/default.conf]
|
spec/classes/init_spec.rb#L178
cassandra on oraclelinux-7-x86_64 with default parameters creates rackdc.properties correctly
Failure/Error:
expect(subject).to contain_file(dc_rack_properties_file).
with(
ensure: 'file',
owner: 'cassandra',
group: 'cassandra',
mode: '0644'
).
that_requires(dc_rack_properties_file_require).
that_comes_before(dc_rack_properties_file_before).
with_content(%r{^dc=DC1}).
expected that the catalogue would contain File[/etc/cassandra/default.conf/cassandra-rackdc.properties]
|
spec/classes/init_spec.rb#L292
cassandra on oraclelinux-7-x86_64 on RedHat with rackdc parameters configures rackdc correctly
Failure/Error:
expect(subject).to contain_file(dc_rack_properties_file_nondefault).
that_requires(dc_rack_properties_file_require).
that_comes_before(dc_rack_properties_file_before).
with_content(%r{^dc=NYC$}).
with_content(%r{^rack=R101$}).
with_content(%r{^dc_suffix=_1_cassandra$}).
with_content(%r{^prefer_local=true$})
expected that the catalogue would contain File[/etc/cassandra/default.conf/cassandra-topology.properties]
|
This job failed
Loading