Skip to content

add basic watch configmap e2e test - #1087

Merged
k8s-ci-robot merged 1 commit into
kubernetes-client:masterfrom
roycaihw:watch-e2e
Mar 2, 2020
Merged

k8s-ci-robot merged 1 commit into
kubernetes-client:masterfrom
roycaihw:watch-e2e

Conversation

@roycaihw

Copy link
Copy Markdown
Member

in future we can add tests for

  • watching custom objects
  • using watch for pod logs

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 22, 2020
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: roycaihw

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 22, 2020
@k8s-ci-robot
k8s-ci-robot requested a review from yliaog February 22, 2020 01:40
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Feb 22, 2020
@roycaihw
roycaihw requested review from micw523 and palnabarun and removed request for yliaog February 22, 2020 01:42
@roycaihw
roycaihw force-pushed the watch-e2e branch 2 times, most recently from 3b1f804 to 6b7b61e Compare February 24, 2020 06:51

@micw523 micw523 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This generally lgtm. I have only one comment.

Comment thread kubernetes/e2e_test/test_watch.py Outdated
name=name_b, namespace='default', body=configmap_b)

# delete all configmaps
resp = api.delete_collection_namespaced_config_map(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks like the resp on line 56, 66, 71, 75 are unused. Is it possible to not assign the return value to a variable?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

thanks. Updated

@micw523

micw523 commented Mar 2, 2020

Copy link
Copy Markdown
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 2, 2020
@k8s-ci-robot
k8s-ci-robot merged commit 1fa9f89 into kubernetes-client:master Mar 2, 2020
@roycaihw
roycaihw deleted the watch-e2e branch March 2, 2020 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants