test: upgrade debian version to 10

This commit is contained in:
Adrien Waksberg 2020-02-08 17:12:04 +01:00
parent 432cbb2c0a
commit c867790a8c
2 changed files with 4 additions and 4 deletions
.kitchen.yml
test/integration/default/serverspec

View file

@ -15,13 +15,13 @@ provisioner:
ansible_inventory: ./test/integration/inventory
platforms:
- name: debian-9
- name: debian-10
driver_config:
image: "nishiki/debian9:ansible-<%= ENV['ANSIBLE_VERSION'] ? ENV['ANSIBLE_VERSION'] : '2.7' %>"
image: "nishiki/debian10:ansible-<%= ENV['ANSIBLE_VERSION'] ? ENV['ANSIBLE_VERSION'] : '2.9' %>"
command: /bin/systemd
volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
security_opt: seccomp=unconfined
privileged: cap-add=SYS_ADMIN
suites:
- name: default

View file

@ -30,7 +30,7 @@ describe port(9200) do
it { should be_listening }
end
describe command('ps faux | grep elasticsearch') do
describe command('systemctl status elasticsearch') do
its(:stdout) { should contain('-Xms512m -Xmx512m') }
end