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

test(terraform): tidy up mysql terraform tests #534

Merged
merged 2 commits into from
Oct 5, 2022

Conversation

pivotal-marcela-campo
Copy link
Member

@pivotal-marcela-campo pivotal-marcela-campo commented Oct 5, 2022

Checklist:

*[ ] Have you added Release Notes in the docs repositories?

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/183463641

The labels on this github issue will be updated when the story is started.

@pivotal-marcela-campo pivotal-marcela-campo changed the title Tidyup mysql terraform tests test(terraform): Tidyup mysql terraform tests Oct 5, 2022
@blgm blgm changed the title test(terraform): Tidyup mysql terraform tests test: tidy up mysql terraform tests Oct 5, 2022
@pivotal-marcela-campo pivotal-marcela-campo changed the title test: tidy up mysql terraform tests test(terraform): tidy up mysql terraform tests Oct 5, 2022

Expect(AfterValuesForType(plan, "aws_db_instance")).To(
MatchKeys(IgnoreExtras, Keys{
"parameter_group_name": Equal("default.mysql5.7"),
Copy link
Contributor

Choose a reason for hiding this comment

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

praise: marvellous! I love it!

Expect(AfterValuesForType(plan, "aws_db_instance")).To(
MatchKeys(IgnoreExtras, Keys{
"storage_type": Equal("io1"),
"iops": Equal(float64(3000)),
Copy link
Contributor

Choose a reason for hiding this comment

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

praise: fantastic! better than documentation and much faster to understand

It("should pass the correct window", func() {
Expect(AfterValuesForType(plan, "aws_db_instance")).To(
MatchKeys(IgnoreExtras, Keys{
"maintenance_window": Equal("mon:01:03-mon:02:04"),
Copy link
Contributor

Choose a reason for hiding this comment

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

thoughts: I wonder how maintenance_day has been converted to lowercase letters

@zucchinidev zucchinidev merged commit 7ba1de8 into main Oct 5, 2022
@FelisiaM FelisiaM deleted the tidyup_mysql_terraform_tests branch November 2, 2022 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

4 participants