This commit is just moving the tests to their new names. The config, packge and issue test suites have been removed and the tests from these will be incorporated into the oss and xpack tests. oss: Standard elasticsearch-oss role with idempotency test oss-upgrade: Upgrade from previous minor version oss to current minor version oss oss-to-xpack-upgrade: Upgrade from previous minor version oss to current minor version xpack xpack: Standard elasticsearch (with xpack) role with idempotency test xpack-upgrade: Upgrade from previous minor version xpack to current minor version xpack multi: Tests multiple instances of elasticsearch on a single machine
12 lines
528 B
Ruby
12 lines
528 B
Ruby
require 'spec_helper'
|
|
|
|
shared_examples 'oss_to_xpack_upgrade::init' do |vars|
|
|
describe 'version check' do
|
|
it 'should be reported as version '+vars['es_version'] do
|
|
expect(curl_json('http://localhost:9200', username='elastic', password='changeme')['version']['number']).to eq(vars['es_version'])
|
|
end
|
|
it 'should be be running the standard (xpack) version' do
|
|
expect(curl_json('http://localhost:9200/_xpack', username='elastic', password='changeme')['tagline']).to eq('You know, for X')
|
|
end
|
|
end
|
|
end
|