Skip to content
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

clean up devfile env tests and uses dns supported component name #3793

Merged

Conversation

girishramnani
Copy link
Contributor

What type of PR is this?
/kind cleanup

What does does this PR do / why we need it:
clean up devfile env tests and uses dns supported component name

PR acceptance criteria:

  • Unit test

  • Integration test

  • Documentation

How to test changes / Special notes to the reviewer:

@@ -10,9 +10,9 @@ import (
"github.com/openshift/odo/tests/helper"
)

var _ = Describe("odo devfile env command tests", func() {
var _ = FDescribe("odo devfile env command tests", func() {
Copy link
Contributor

Choose a reason for hiding this comment

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

FDescribe -> Describe

@@ -10,9 +10,9 @@ import (
"github.com/openshift/odo/tests/helper"
)

var _ = Describe("odo devfile env command tests", func() {
var _ = FDescribe("odo devfile env command tests", func() {
Copy link
Contributor

Choose a reason for hiding this comment

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

you mean Describe 🙄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hehe, resolved

Copy link
Contributor

Choose a reason for hiding this comment

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

cool 😄

@@ -81,26 +81,6 @@ var _ = Describe("odo devfile env command tests", func() {
testDebugPort,
}
helper.MatchAllInOutput(output, wantOutput)
})

It("Should fail to set the invalid parameter", func() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Its good to keep a negative case for validation.

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

@amitkrout
Copy link
Contributor

/approve

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: amitkrout

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. label Aug 20, 2020
@prietyc123
Copy link
Contributor

looks good to me

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. Required by Prow. label Aug 20, 2020
@codecov
Copy link

codecov bot commented Aug 20, 2020

Codecov Report

Merging #3793 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3793   +/-   ##
=======================================
  Coverage   44.19%   44.19%           
=======================================
  Files         139      139           
  Lines       13388    13388           
=======================================
  Hits         5917     5917           
  Misses       6888     6888           
  Partials      583      583           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1e80be6...8bfa5e0. Read the comment docs.

@amitkrout
Copy link
Contributor

/refresh

@openshift-merge-robot openshift-merge-robot merged commit 796349e into redhat-developer:master Aug 20, 2020
@rm3l rm3l added the area/refactoring Issues or PRs related to code refactoring label Jun 16, 2023
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. Required by Prow. area/refactoring Issues or PRs related to code refactoring lgtm Indicates that a PR is ready to be merged. Required by Prow.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants