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

Several improvements on acceptance tests #67

Merged
merged 1 commit into from
Jan 6, 2021
Merged

Conversation

eliecharra
Copy link
Contributor

Q A
πŸ› Bug fix? no
πŸš€ New feature? no
⚠ Deprecations? no
❌ BC Break no
πŸ”— Related issues #...
❓ Documentation no

Description

  • Add filter on aws_instance test
  • Add terraform locks
  • Do not run terraform init if already done previously
  • Do not use chdir in tests (it could cause race if we want to switch to parallel tests, uses --from arg instead)
  • Handle terraform destroy errors

@eliecharra eliecharra added the kind/maintenance Refactoring or changes to the workspace label Jan 5, 2021
@eliecharra eliecharra requested a review from wbeuil January 5, 2021 15:47
@eliecharra eliecharra requested a review from a team as a code owner January 5, 2021 15:47
@codecov
Copy link

codecov bot commented Jan 5, 2021

Codecov Report

Merging #67 (c83b538) into main (e42dd73) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #67   +/-   ##
=======================================
  Coverage   67.04%   67.04%           
=======================================
  Files         146      146           
  Lines        3314     3314           
=======================================
  Hits         2222     2222           
  Misses        842      842           
  Partials      250      250           

- Add filter on aws_instance test
- Add terraform locks
- Do not run terraform init if already done previously
- Do not use chdir in tests (it could cause race if we want to switch to parallel tests, uses --from arg instead)
- Handle terraform destroy errors
Copy link
Contributor

@wbeuil wbeuil left a comment

Choose a reason for hiding this comment

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

LGTM

@eliecharra eliecharra merged commit aacec19 into main Jan 6, 2021
@eliecharra eliecharra deleted the improve_acc_tests branch January 6, 2021 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/maintenance Refactoring or changes to the workspace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants