-
Notifications
You must be signed in to change notification settings - Fork 1.2k
test: honor SpecContext in scale expectations #8824
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
base: main
Are you sure you want to change the base?
test: honor SpecContext in scale expectations #8824
Conversation
|
/label test |
DerekFrank
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/karpenter scale
|
Preview deployment ready! Preview URL: https://pr-8824.d18coufmbnnaag.amplifyapp.com Built from commit |
bae2660 to
c6a7ed7
Compare
|
Hi @DerekFrank, I've fixed the compilation errors in the latest commit. The issue was with the gomega API usage - I've updated it to use |
Pull Request Test Coverage Report for Build 20928340800Details
💛 - Coveralls |
- Change gomega.Eventually(ctx, actual, intervals...) to gomega.Eventually(actual, intervals...).WithContext(ctx) - Change gomega.Consistently(ctx, actual, intervals...) to gomega.Consistently(actual, intervals...).WithContext(ctx) - Fix return type from ConsistentlyAssertion to AsyncAssertion The previous syntax was not supported by the current gomega API.
c6a7ed7 to
67e94f7
Compare
Signed-off-by: kkh <[email protected]>
|
FYI: the latest workflow runs (CI/CI-TEST/CodeQL/DryRunGenPR/WebsitePreviewTrigger) are in 'action_required' because this is a fork. Could a maintainer approve and re-run the workflows when convenient? |
|
Hey @KyungHwanKim-devs, seems like the CI run is failing. I think you just need to run |
|
Hi @engedaam thanks for the guidance. I ran |
Fixes #5557
Description
Eventually/Consistentlythrough the active context.How was this change tested?
go test ./test/pkg/environment/common -run TestMergeContextsDoes this change impact docs?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.