From: Tom Hughes Date: Mon, 23 Jan 2023 10:46:48 +0000 (+0000) Subject: Fix expected database version in tests X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/8e9179877cdf77bdfb86adcc580fc3ef86fde695 Fix expected database version in tests --- diff --git a/test/integration/db-base/serverspec/postgresql_spec.rb b/test/integration/db-base/serverspec/postgresql_spec.rb index b6e920c8f..84008f457 100644 --- a/test/integration/db-base/serverspec/postgresql_spec.rb +++ b/test/integration/db-base/serverspec/postgresql_spec.rb @@ -3,11 +3,11 @@ require "serverspec" # Required by serverspec set :backend, :exec -describe package("postgresql-9.5") do +describe package("postgresql-15") do it { should be_installed } end -describe service("postgresql@9.5-main") do +describe service("postgresql@15-main") do it { should be_enabled } it { should be_running } end diff --git a/test/integration/db-master/serverspec/postgresql_spec.rb b/test/integration/db-master/serverspec/postgresql_spec.rb index b6e920c8f..84008f457 100644 --- a/test/integration/db-master/serverspec/postgresql_spec.rb +++ b/test/integration/db-master/serverspec/postgresql_spec.rb @@ -3,11 +3,11 @@ require "serverspec" # Required by serverspec set :backend, :exec -describe package("postgresql-9.5") do +describe package("postgresql-15") do it { should be_installed } end -describe service("postgresql@9.5-main") do +describe service("postgresql@15-main") do it { should be_enabled } it { should be_running } end diff --git a/test/integration/db-slave/serverspec/postgresql_spec.rb b/test/integration/db-slave/serverspec/postgresql_spec.rb index b6e920c8f..84008f457 100644 --- a/test/integration/db-slave/serverspec/postgresql_spec.rb +++ b/test/integration/db-slave/serverspec/postgresql_spec.rb @@ -3,11 +3,11 @@ require "serverspec" # Required by serverspec set :backend, :exec -describe package("postgresql-9.5") do +describe package("postgresql-15") do it { should be_installed } end -describe service("postgresql@9.5-main") do +describe service("postgresql@15-main") do it { should be_enabled } it { should be_running } end