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

Always dump the current output/result #528

Merged
merged 2 commits into from
Feb 4, 2018

Conversation

phobologic
Copy link
Member

This fixes an issue that was introduced in #467. The original
functionality was to always dump the current output to .json-result,
that way it was easy to build & compare the output.

With the current implementation (from #467) we raise an exception if the
old results aren't available, but don't create the new results. This is
an issue whenever creating a new test.

@danielkza can you verify that this doesn't break anything that you were trying to fix in #467? I can't see how it would.

This fixes an issue that was introduced in #467. The original
functionality was to always dump the current output to `.json-result`,
that way it was easy to build & compare the output.

With the current implementation (from #467) we raise an exception if the
old results aren't available, but don't create the new results.  This is
an issue whenever creating a new test.
@codecov-io
Copy link

codecov-io commented Feb 3, 2018

Codecov Report

Merging #528 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #528   +/-   ##
=======================================
  Coverage   88.72%   88.72%           
=======================================
  Files          92       92           
  Lines        5926     5926           
=======================================
  Hits         5258     5258           
  Misses        668      668
Impacted Files Coverage Δ
stacker/blueprints/testutil.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f07e6f2...3bdc060. Read the comment docs.

@danielkza
Copy link
Contributor

can you verify that this doesn't break anything that you were trying to fix in #467? I can't see how it would.

I can't see how it would either, and getting more information for debugging is always nice.

@phobologic phobologic merged commit e2c51b9 into master Feb 4, 2018
@phobologic
Copy link
Member Author

Thanks @danielkza !

phrohdoh pushed a commit to phrohdoh/stacker that referenced this pull request Dec 18, 2018
* Always dump the current output/result

This fixes an issue that was introduced in cloudtools#467. The original
functionality was to always dump the current output to `.json-result`,
that way it was easy to build & compare the output.

With the current implementation (from cloudtools#467) we raise an exception if the
old results aren't available, but don't create the new results.  This is
an issue whenever creating a new test.

* Update CHANGELOG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants