Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upAdding wait flag test in link command test #2398
Conversation
This comment has been minimized.
This comment has been minimized.
openshift-ci-robot
commented
Nov 13, 2019
@amitkrout: The label(s) In response to this:
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. |
This comment has been minimized.
This comment has been minimized.
https://travis-ci.com/openshift/odo/jobs/255970796#L3670 The test seems to be failing. I guess our wait flag is not working properly. |
This comment has been minimized.
This comment has been minimized.
The failure is from env variable check
|
e41a47c
to
6eddfca
This comment has been minimized.
This comment has been minimized.
Issue opened - #2414 |
helper.CmdShouldPass("odo", "push", "--context", context2) | ||
|
||
// link both component and wait till frontend dc rollout properly | ||
helper.CmdShouldPass("odo", "link", "backend", "--port", "8080", "--wait", "--context", context2) |
This comment has been minimized.
This comment has been minimized.
kadel
Nov 26, 2019
Member
context2
is the context for the backend component. So this command is trying to link component to itself.
This should be helper.CmdShouldPass("odo", "link", "backend", "--port", "8080", "--wait", "--context", context1)
It would be much better if the context1
and context2
have some meaningful names like backendContext
and frontendContext
to prevent mistakes like this.
This comment has been minimized.
This comment has been minimized.
amitkrout
Nov 26, 2019
Author
Collaborator
yup, Nice catch.
Will update the context naming accordingly
This comment has been minimized.
This comment has been minimized.
openshift-ci-robot
commented
Nov 26, 2019
•
@amitkrout: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
This comment has been minimized.
This comment has been minimized.
Platform issue |
/approve |
This comment has been minimized.
This comment has been minimized.
openshift-ci-robot
commented
Nov 27, 2019
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mik-dass The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This comment has been minimized.
This comment has been minimized.
/lgtm |
962d052
into
openshift:master
amitkrout commentedNov 13, 2019
What kind of PR is this?
/kind enhancement
/kind test
What does does this PR do / why we need it:
Adding test for missing flag in link test file
Which issue(s) this PR fixes:
Fixes #?No
How to test changes / Special notes to the reviewer:
make test-cmd-link-unlink