Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis and kitchen-ec2 testing #181

Merged
merged 1 commit into from
Dec 9, 2016
Merged

Travis and kitchen-ec2 testing #181

merged 1 commit into from
Dec 9, 2016

Conversation

alexpop
Copy link
Contributor

@alexpop alexpop commented Dec 8, 2016

Uses IAM policy that can only create, tag and terminate own ec2 instances

@alexpop alexpop self-assigned this Dec 8, 2016
@alexpop alexpop force-pushed the ap/travis-kitchen branch 7 times, most recently from a114dfd to 6746928 Compare December 9, 2016 13:22
Signed-off-by: Alex Pop <apop@chef.io>
@alexpop alexpop changed the title WIP: travis and kitchen-ec2 testing Travis and kitchen-ec2 testing Dec 9, 2016
its(['total']) { should be > 60 }
end
# guard the elastic_hits array from index out of bounds exception
if elastic_hits.length == 2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add an error if the length is not 2?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking that this will provide the error:

describe elastic_hits.length do
    it { should eq 2 }
end

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right!

its(['total']) { should be > 60 }
end
# guard the elastic_hits array from index out of bounds exception
if elastic_hits.length == 2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right!

@chris-rock chris-rock merged commit e49ce7b into master Dec 9, 2016
@chris-rock chris-rock deleted the ap/travis-kitchen branch December 9, 2016 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants