Fix tests, drop support for proxysql versions < 2.2 #113
Annotations
7 errors
Run tests:
spec/classes/proxysql_spec.rb#L93
proxysql supported operating systems on redhat-7-x86_64 proxysql class without any parameters with restart = true and proxysql 2.7.1 is expected to contain Service[proxysql] with start => "/etc/init.d/proxysql reload"
Failure/Error: it { is_expected.to contain_service('proxysql').with_start('/etc/init.d/proxysql reload') }
expected that the catalogue would contain Service[proxysql] with start set to "/etc/init.d/proxysql reload" but it is set to nil
|
Run tests:
spec/classes/proxysql_spec.rb#L105
proxysql supported operating systems on ubuntu-20.04-x86_64 proxysql class without any parameters is expected to contain Exec[wait_for_admin_socket_to_open] with command => "test -S /var/lib/proxysql/proxysql_admin.sock", unless => "test -S /var/lib/proxysql/proxysql_admin.sock", tries => 3, try_sleep => 10, require => "Service[proxysql]" and path => "/bin:/usr/bin"
Failure/Error:
is_expected.to contain_exec('wait_for_admin_socket_to_open').with(
command: "test -S #{admin_socket}",
unless: "test -S #{admin_socket}",
tries: 3,
try_sleep: 10,
require: 'Service[proxysql]',
path: '/bin:/usr/bin'
)
expected that the catalogue would contain Exec[wait_for_admin_socket_to_open] with command set to "test -S /var/lib/proxysql/proxysql_admin.sock" but it is set to "test -S /tmp/proxysql_admin.sock", and parameter unless set to "test -S /var/lib/proxysql/proxysql_admin.sock" but it is set to "test -S /tmp/proxysql_admin.sock"
Diff:
@@ -1,4 +1,4 @@
-test -S /var/lib/proxysql/proxysql_admin.sock
+test -S /tmp/proxysql_admin.sock
-test -S /var/lib/proxysql/proxysql_admin.sock
+test -S /tmp/proxysql_admin.sock
|
Run tests:
spec/classes/proxysql_spec.rb#L93
proxysql supported operating systems on oraclelinux-7-x86_64 proxysql class without any parameters with restart = true and proxysql 2.7.1 is expected to contain Service[proxysql] with start => "/etc/init.d/proxysql reload"
Failure/Error: it { is_expected.to contain_service('proxysql').with_start('/etc/init.d/proxysql reload') }
expected that the catalogue would contain Service[proxysql] with start set to "/etc/init.d/proxysql reload" but it is set to nil
|
Run tests:
spec/classes/proxysql_spec.rb#L93
proxysql supported operating systems on scientific-7-x86_64 proxysql class without any parameters with restart = true and proxysql 2.7.1 is expected to contain Service[proxysql] with start => "/etc/init.d/proxysql reload"
Failure/Error: it { is_expected.to contain_service('proxysql').with_start('/etc/init.d/proxysql reload') }
expected that the catalogue would contain Service[proxysql] with start set to "/etc/init.d/proxysql reload" but it is set to nil
|
Run tests:
spec/classes/proxysql_spec.rb#L93
proxysql supported operating systems on centos-7-x86_64 proxysql class without any parameters with restart = true and proxysql 2.7.1 is expected to contain Service[proxysql] with start => "/etc/init.d/proxysql reload"
Failure/Error: it { is_expected.to contain_service('proxysql').with_start('/etc/init.d/proxysql reload') }
expected that the catalogue would contain Service[proxysql] with start set to "/etc/init.d/proxysql reload" but it is set to nil
|
Run tests:
spec/classes/proxysql_spec.rb#L36
proxysql supported operating systems on amazon-2016-x86_64 proxysql class without any parameters is expected to contain Yumrepo[proxysql_2_7] with baseurl => "http://repo.proxysql.com/ProxySQL/proxysql-2.7.x/centos/2016"
Failure/Error: it { is_expected.to contain_yumrepo('proxysql_2_7').with_baseurl("http://repo.proxysql.com/ProxySQL/proxysql-2.7.x/centos/#{facts[:operatingsystemmajrelease]}") }
expected that the catalogue would contain Yumrepo[proxysql_2_7] with baseurl set to "http://repo.proxysql.com/ProxySQL/proxysql-2.7.x/centos/2016" but it is set to "http://repo.proxysql.com/ProxySQL/proxysql-2.7.x/centos/6"
|
Run tests
Process completed with exit code 1.
|
Loading