Add test for upgrading from previous version of oss to current
This commit is contained in:
parent
4c35794b76
commit
2c8ce3bb2d
7 changed files with 68 additions and 6 deletions
9
test/integration/helpers/serverspec/oss_upgrade_spec.rb
Normal file
9
test/integration/helpers/serverspec/oss_upgrade_spec.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
require 'spec_helper'
|
||||
|
||||
shared_examples 'oss_upgrade::init' do |vars|
|
||||
describe 'version check' do
|
||||
it 'should be reported as version '+vars['es_version'] do
|
||||
expect(curl_json('http://localhost:9200')['version']['number']).to eq(vars['es_version'])
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue