Simpler restart handling + issue-test for recreation of problems
This commit is contained in:
parent
2c69fbcb40
commit
5e1873ca68
10 changed files with 43 additions and 2 deletions
8
test/integration/helpers/serverspec/issue_test_spec.rb
Normal file
8
test/integration/helpers/serverspec/issue_test_spec.rb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
require 'spec_helper'
|
||||
|
||||
shared_examples 'issue_test::init' do |es_version,plugins|
|
||||
|
||||
#Add custom tests here for the issue-test.yml test
|
||||
|
||||
end
|
||||
|
||||
12
test/integration/issue-test.yml
Normal file
12
test/integration/issue-test.yml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#This file is for users to test issues and reproduce them using the test framework.
|
||||
#Modify the playbook below and test with kitchen i.e. `kitchen test issue-test`
|
||||
#To add custom tests modify the serverspec file ./helpers/serverspec/issue_test_spec.rb
|
||||
#Idempot test is enabled for this test
|
||||
- name: Simple Example
|
||||
hosts: localhost
|
||||
remote_user: root
|
||||
become: yes
|
||||
become_method: sudo
|
||||
roles:
|
||||
- { role: elasticsearch, es_instance_name: "node1" }
|
||||
vars:
|
||||
2
test/integration/issue-test/issue-test.yml
Normal file
2
test/integration/issue-test/issue-test.yml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
- host: test-kitchen
|
||||
6
test/integration/issue-test/serverspec/default_spec.rb
Normal file
6
test/integration/issue-test/serverspec/default_spec.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
require 'issue_test_spec'
|
||||
|
||||
describe 'Issue Test' do
|
||||
include_examples 'issue_test::init', "5.5.1", []
|
||||
end
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue