Skip to content

Always dump the current output/result#528

Merged
phobologic merged 2 commits into
masterfrom
fix_test_to_dump_current_output_again
Feb 4, 2018
Merged

Always dump the current output/result#528
phobologic merged 2 commits into
masterfrom
fix_test_to_dump_current_output_again

Conversation

@phobologic

Copy link
Copy Markdown
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

codecov-io commented Feb 3, 2018

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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