Skip to content

Add e2e test for strategic merge patch #951

Closed

Description

@roycaihw

Add a test sending (e.g. config map) patches through the same API using:

make sure the API client is able to set the content type properly according to the request body, and the patches are applied successfully.

ref: #931 (comment)

Activity

  1. added
    kind/featureCategorizes issue or PR as related to a new feature.
    good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Sep 10, 2019
  2. palnabarun commented on Oct 6, 2019

    @palnabarun
    Member

    I want to give a shot at this. :)

    /assign

  3. fejta-bot commented on Jan 4, 2020

    @fejta-bot

    Issues go stale after 90d of inactivity.
    Mark the issue as fresh with /remove-lifecycle stale.
    Stale issues rot after an additional 30d of inactivity and eventually close.

    If this issue is safe to close now please do so with /close.

    Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
    /lifecycle stale

  4. added
    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.
    on Jan 4, 2020
  5. palnabarun commented on Jan 5, 2020

    @palnabarun
    Member

    /remove-lifecycle stale

  6. removed
    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.
    on Jan 5, 2020
  7. roycaihw commented on Mar 12, 2020

    @roycaihw
    MemberAuthor

    Examples of using these patches:

    strategic merge patch: #641 (comment)
    json patch: #641 (comment)

    We can have one test sending multiple kinds of patch and make sure nothing fails, or two tests doing the same thing but using different kinds of patch.

  8. fejta-bot commented on Jun 10, 2020

    @fejta-bot

    Issues go stale after 90d of inactivity.
    Mark the issue as fresh with /remove-lifecycle stale.
    Stale issues rot after an additional 30d of inactivity and eventually close.

    If this issue is safe to close now please do so with /close.

    Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
    /lifecycle stale

  9. added
    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.
    on Jun 10, 2020
  10. fejta-bot commented on Jul 10, 2020

    @fejta-bot

    Stale issues rot after 30d of inactivity.
    Mark the issue as fresh with /remove-lifecycle rotten.
    Rotten issues close after an additional 30d of inactivity.

    If this issue is safe to close now please do so with /close.

    Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
    /lifecycle rotten

  11. added
    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.
    and removed
    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.
    on Jul 10, 2020
  12. 4 remaining items

  13. added
    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.
    and removed
    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.
    on Feb 4, 2021
  14. fejta-bot commented on Mar 6, 2021

    @fejta-bot

    Rotten issues close after 30d of inactivity.
    Reopen the issue with /reopen.
    Mark the issue as fresh with /remove-lifecycle rotten.

    Send feedback to sig-contributor-experience at kubernetes/community.
    /close

  15. k8s-ci-robot commented on Mar 6, 2021

    @k8s-ci-robot
    Contributor

    @fejta-bot: Closing this issue.

    Details

    In response to this:

    Rotten issues close after 30d of inactivity.
    Reopen the issue with /reopen.
    Mark the issue as fresh with /remove-lifecycle rotten.

    Send feedback to sig-contributor-experience at kubernetes/community.
    /close

    Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

  16. roycaihw commented on Mar 9, 2021

    @roycaihw
    MemberAuthor

    /reopen
    /remove-lifecycle rotten
    /lifecycle frozen
    /priority important-soon

  17. k8s-ci-robot commented on Mar 9, 2021

    @k8s-ci-robot
    Contributor

    @roycaihw: Reopened this issue.

    Details

    In response to this:

    /reopen
    /remove-lifecycle rotten
    /lifecycle frozen
    /priority important-soon

    Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

  18. added
    priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.
    lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.
    and removed
    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.
    on Mar 9, 2021
  19. pmareke commented on Sep 26, 2022

    @pmareke
    Contributor

    Hi everyone!

    After reading the issue, the examples and the e2e tests I would like to give it a try.

    As far as I understand I have to add a couple of e2e tests patching a config map with the 2 strategies right?

    Thanks for your time!

    /assign

  20. pmareke commented on Sep 27, 2022

    @pmareke
    Contributor

    Sorry for the multiple pull requests, I made a typo naming the branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions