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

Add E2E tests for Installation flow #4803

Merged
merged 1 commit into from Apr 3, 2020

Conversation

bipuladh
Copy link
Contributor

These tests are targetted to run on OCP CI (e2e-gcp-console)

@openshift-ci-robot openshift-ci-robot added component/ceph Related to ceph-storage-plugin approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Mar 24, 2020

const Installer = new InstallCluster(NS);

describe('Testing OCS Cluster Creation', () => {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
describe('Testing OCS Cluster Creation', () => {
describe('Testing OpenShift Container Storage Installation, () => {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are testing cluster creation there are e2e-tests for operators-hub that test installation of an operator.

@bipuladh
Copy link
Contributor Author

/retest

1 similar comment
@bipuladh
Copy link
Contributor Author

/retest

@bipuladh
Copy link
Contributor Author

/retest

export const hasOCSTaint = (node) => {
const taints = node?.spec?.taints || [];
return taints.some((taint) => _.isEqual(taint, ocsTaint));
};
Copy link
Contributor

Choose a reason for hiding this comment

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

Why you have defined the functions again here? You can reuse the function from node-list.tsx

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You can't pull that code into e2e tests and vice versa,

@bipuladh bipuladh requested a review from gnehapk March 27, 2020 07:02
@bipuladh
Copy link
Contributor Author

/retest

@bipuladh bipuladh force-pushed the install_test_ocp branch 2 times, most recently from fc03bca to c2542c6 Compare March 30, 2020 19:34
@bipuladh
Copy link
Contributor Author

/retest

@gnehapk
Copy link
Contributor

gnehapk commented Mar 31, 2020

/approve

@bipuladh
Copy link
Contributor Author

/retest

2 similar comments
@bipuladh
Copy link
Contributor Author

/retest

@bipuladh
Copy link
Contributor Author

/retest

@gnehapk
Copy link
Contributor

gnehapk commented Apr 3, 2020

/approve

@gnehapk
Copy link
Contributor

gnehapk commented Apr 3, 2020

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 3, 2020
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bipuladh, gnehapk, umangachapagain

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

@bipuladh
Copy link
Contributor Author

bipuladh commented Apr 3, 2020

/retest

@gnehapk
Copy link
Contributor

gnehapk commented Apr 3, 2020

/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 3, 2020
@bipuladh
Copy link
Contributor Author

bipuladh commented Apr 3, 2020

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 3, 2020
@bipuladh
Copy link
Contributor Author

bipuladh commented Apr 3, 2020

/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 3, 2020
@bipuladh
Copy link
Contributor Author

bipuladh commented Apr 3, 2020

/retest

@gnehapk
Copy link
Contributor

gnehapk commented Apr 3, 2020

/hold cancel
Tested and working perfectly.

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 3, 2020
@openshift-merge-robot openshift-merge-robot merged commit b8684dd into openshift:master Apr 3, 2020
@spadgett spadgett added this to the v4.5 milestone Apr 7, 2020
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. component/ceph Related to ceph-storage-plugin lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants