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

chore(*) remove test framework pod readiness utility #2917

Merged
merged 1 commit into from
Oct 7, 2021
Merged

chore(*) remove test framework pod readiness utility #2917

merged 1 commit into from
Oct 7, 2021

Conversation

jpeach
Copy link
Contributor

@jpeach jpeach commented Oct 7, 2021

Summary

There is already a helper in terratest to wait for a pod to become
ready, so we can just call that with some extra logging, rather han
re-implementing it in the test framework.

Full changelog

N/A

Issues resolved

N/A

Documentation

N/A

Testing

  • Unit tests
  • E2E tests
  • Manual testing on Universal
  • Manual testing on Kubernetes

Backwards compatibility

  • Add backport-to-stable label if the code is backwards compatible. Otherwise, list breaking changes.

There is already a helper in terratest to wait for a pod to become
ready, so we can just call that with some extra logging, rather han
re-implementing it in the test framework.

Signed-off-by: James Peach <james.peach@konghq.com>
@jpeach jpeach requested a review from a team as a code owner October 7, 2021 07:48
Copy link
Contributor

@bartsmykla bartsmykla left a comment

Choose a reason for hiding this comment

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

Lgtm

@codecov-commenter
Copy link

Codecov Report

Merging #2917 (f408b68) into master (ef8da60) will increase coverage by 0.03%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2917      +/-   ##
==========================================
+ Coverage   52.13%   52.17%   +0.03%     
==========================================
  Files         897      897              
  Lines       52070    52053      -17     
==========================================
+ Hits        27149    27159      +10     
+ Misses      22749    22720      -29     
- Partials     2172     2174       +2     
Impacted Files Coverage Δ
test/framework/setup.go 2.99% <0.00%> (+0.14%) ⬆️
pkg/core/runtime/component/component.go 81.13% <0.00%> (-7.55%) ⬇️
pkg/plugins/runtime/gateway/route/sorter.go 56.41% <0.00%> (ø)
pkg/xds/generator/direct_access_proxy_generator.go 83.90% <0.00%> (+1.14%) ⬆️
pkg/core/resources/manager/cache.go 84.41% <0.00%> (+2.59%) ⬆️
pkg/plugins/leader/postgres/leader_elector.go 97.87% <0.00%> (+4.25%) ⬆️
pkg/core/bootstrap/autoconfig.go 54.46% <0.00%> (+8.03%) ⬆️

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 ef8da60...f408b68. Read the comment docs.

@jakubdyszkiewicz jakubdyszkiewicz merged commit 7b03a30 into kumahq:master Oct 7, 2021
mergify bot pushed a commit that referenced this pull request Oct 7, 2021
There is already a helper in terratest to wait for a pod to become
ready, so we can just call that with some extra logging, rather han
re-implementing it in the test framework.

Signed-off-by: James Peach <james.peach@konghq.com>
(cherry picked from commit 7b03a30)
jakubdyszkiewicz pushed a commit that referenced this pull request Oct 7, 2021
There is already a helper in terratest to wait for a pod to become
ready, so we can just call that with some extra logging, rather han
re-implementing it in the test framework.

Signed-off-by: James Peach <james.peach@konghq.com>
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.

None yet

4 participants