Simpler restart handling + issue-test for recreation of problems

This commit is contained in:
Dale McDiarmid 2017-08-20 10:30:39 -04:00
parent 2c69fbcb40
commit 5e1873ca68
10 changed files with 43 additions and 2 deletions

View 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

View 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:

View file

@ -0,0 +1,2 @@
---
- host: test-kitchen

View file

@ -0,0 +1,6 @@
require 'issue_test_spec'
describe 'Issue Test' do
include_examples 'issue_test::init', "5.5.1", []
end