E54B tests: Change error string check in openapi spec tests by ciarams87 · Pull Request #2794 · nginx/kubernetes-ingress · GitHub
[go: up one dir, main page]

Skip to content

Conversation

ciarams87
Copy link
Contributor

Proposed changes

Kubernetes 1.24 changes some of the error messages for lists to include the index (e.g. spec.routes.action.return.code becomes spec.routes[0].action.return.code) This commit updates error message strings to be agnostic about the index.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

@ciarams87 ciarams87 force-pushed the fix-tests-for-1-24 branch 6 times, most recently from 6181c4d to bd3fc65 Compare June 23, 2022 22:09
@codecov-commenter
Copy link
codecov-commenter commented Jun 23, 2022

Codecov Report

Merging #2794 (6181c4d) into main (59e4dd9) will decrease coverage by 0.01%.
The diff coverage is n/a.

❗ Current head 6181c4d differs from pull request most recent head 0aac3d9. Consider uploading reports for the commit 0aac3d9 to get more accurate results

@@            Coverage Diff             @@
##             main    #2794      +/-   ##
==========================================
- Coverage   54.03%   54.02%   -0.02%     
==========================================
  Files          53       53              
  Lines       15009    15009              
==========================================
- Hits         8110     8108       -2     
- Misses       6629     6631       +2     
  Partials      270      270              
Impacted Files Coverage Δ
...ternal/k8s/appprotect/app_protect_configuration.go 86.16% <0.00%> (-0.58%) ⬇️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@ciarams87 ciarams87 marked this pull request as ready for review June 23, 2022 23:17
@ciarams87 ciarams87 requested review from a team, lucacome, haywoodsh and shaun-nx June 23, 2022 23:17
Copy link
@lucacome lucacome left a comment

Choose a reason for hiding this comment

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

Are you gonna revert the change to the version of kind, so we keep it separate from this one?

@ciarams87 ciarams87 force-pushed the fix-tests-for-1-24 branch from bd3fc65 to 0aac3d9 Compare June 24, 2022 09:01
@ciarams87 ciarams87 force-pushed the fix-tests-for-1-24 branch from 0aac3d9 to 2c6f76a Compare June 24, 2022 13:54
@ciarams87 ciarams87 enabled auto-merge (squash) June 24, 2022 13:54
@ciarams87 ciarams87 merged commit c1581ff into main Jun 24, 2022
@ciarams87 ciarams87 deleted the fix-tests-for-1-24 branch June 24, 2022 13:57
jjngx pushed a commit that referenced this pull request Jun 24, 2022
Change error string check in openapi spec tests
@ciarams87 ciarams87 added tests Pull requests that update tests labels Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Pull requests that update tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0