-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
(integ-tests-alpha,custom-resources): snapshots are always outdated #30583
Comments
Hmm.. I thought I had fixed by downgrading to |
Yes I think #30418 would make your snapshot need to update as it makes |
@pahud but they are always updating and never actually doing that. |
I'm updating a massive amount of our integration tests and experiencing this same thing. It looks like this is being injected at the time the test runs instead of at the build time. It's resulting in a good portion of our tests only working with the |
I am experiencing this issue while running the test And the stack is failing with the error
Are there any work-arounds to not set the property logApiResponseData ? I have tried setting |
@TheRealAmazonKendra any news here? |
I thiiiiiiiiiink I actually have figured out a piece of this. Unfortunately, my capacity has been extremely limited of late so I haven't had a chance to properly dig in. I'm hoping to do so a bit more next week because this is a huge pain. |
@pahud @TheRealAmazonKendra @mrlikl this is an increasing problem for me. Did you by any chance found a fix, a workaround? |
Describe the bug
After upgrading to
2.146.0
from2.145.0
where #30418 was introduced I am observing that running integration tests viainteg-runner
always fails. Snapshot is being reported as outdated, like on screenshot above. Although I can successfully rebuild/rerun tests and I can observe a change in snapshots next time I run tests I once again observe situation from screenshotOnce I had downgraded to
2.145.0
on bothaws-cdk-lib
,@aws-cdk/integ-runner
and@aws-cdk/integ-tests-alpha
to2.145.0
tests are passing without a problem.Behavior suggests a regression of sort around: #30418
Also the problem occurs, I believe, around custom resources I am using.
Expected Behavior
Screenshot are deterministically stored and next checks aren't failing.
Current Behavior
Reproduction Steps
N/A
Possible Solution
N/A
Additional Information/Context
N/A
CDK CLI Version
2.146.0
Framework Version
No response
Node.js Version
18.16.0
OS
MacOS sierra
Language
TypeScript
Language Version
5.4.5
Other information
No response
The text was updated successfully, but these errors were encountered: