-
Notifications
You must be signed in to change notification settings - Fork 243
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
check if namespace is created instead of project #6108
check if namespace is created instead of project #6108
Conversation
✅ Deploy Preview for odo-docusaurus-preview canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this change? Isn't HasNamespaceProject
enough?
tests/helper/helper_oc.go
Outdated
@@ -582,6 +582,12 @@ func (oc OcRunner) HasNamespaceProject(name string) bool { | |||
return strings.Contains(out, name) | |||
} | |||
|
|||
func (oc OcRunner) HasNamespac(name string) bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
func (oc OcRunner) HasNamespac(name string) bool { | |
func (oc OcRunner) HasNamespace(name string) bool { |
324dd50
to
ef0a65e
Compare
We are still experiencing test flakes for these test cases (flake chart), even if we are checking for project. @feloy suggested it would be better to check if the |
f9fc5ab
to
86fa651
Compare
3c12fa6
to
e394c3b
Compare
e394c3b
to
46b4161
Compare
46b4161
to
2f8b1dc
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: feloy 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 |
/lgtm |
@anandrkskd Can you please rebase your branch onto I have the feeling that the potential issue (about Windows tests) I mentioned yesterday during standup is occurring here too. When looking at the logs, I can see that this test (
The problem is that this test was introduced recently in 16c6d15, but your branch does not contain this commit yet; so I'm confused ❯ git remote add anandrkskd git@github.com:anandrkskd/odo.git
❯ git fetch anandrkskd
❯ git branch -r --contains=16c6d1589f364ac81b679a48c9d86af6f76601b5
origin/6f77dependabot/npm_and_yarn/docs/website/mdx-js/react-2.1.3
origin/HEAD -> origin/main
origin/fix-links-to-devfile.io
origin/main
upstream/dependabot/npm_and_yarn/docs/website/mdx-js/react-2.1.3
upstream/main |
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
0fd9bb0
to
edb93a3
Compare
New changes are detected. LGTM label has been removed. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
/test v4.11-integration-e2e |
/retest |
Signed-off-by: anandrkskd anandrkskd@gmail.com
What type of PR is this:
/kind tests
What does this PR do / why we need it:
Which issue(s) this PR fixes:
Fixes #
PR acceptance criteria:
Unit test
Integration test
Documentation
How to test changes / Special notes to the reviewer: