Skip to content

Enable 'Validate granting permissions by label' test#401

Merged
openshift-merge-robot merged 8 commits into
redhat-developer:masterfrom
varshab1210:conditional_skip
Dec 8, 2022
Merged

Enable 'Validate granting permissions by label' test#401
openshift-merge-robot merged 8 commits into
redhat-developer:masterfrom
varshab1210:conditional_skip

Conversation

@varshab1210
Copy link
Copy Markdown
Member

@varshab1210 varshab1210 commented Nov 22, 2022

Signed-off-by: varshab1210 vab@redhat.com

What type of PR is this?

Uncomment only one /kind line, and delete the rest.
For example, > /kind bug would simply become: /kind bug

/kind failing-test

What does this PR do / why we need it:
Previously we commented the test out as it was failing constantly on OCP 4.9 blocking the merge process. This PR increases timeout and re-enables the test

Have you updated the necessary documentation?

  • Documentation update is required by this PR.
  • Documentation has been updated.

Which issue(s) this PR fixes:

Fixes #?

Test acceptance criteria:

  • Unit Test
  • E2E Test

How to test changes / Special notes to the reviewer:

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Nov 22, 2022

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci openshift-ci Bot added the kind/failing-test Categorizes issue or PR as related to a frequently failing test. label Nov 22, 2022
@varshab1210
Copy link
Copy Markdown
Member Author

/test all

@varshab1210
Copy link
Copy Markdown
Member Author

/test v4.9-e2e

2 similar comments
@varshab1210
Copy link
Copy Markdown
Member Author

/test v4.9-e2e

@varshab1210
Copy link
Copy Markdown
Member Author

/test v4.9-e2e

@varshab1210
Copy link
Copy Markdown
Member Author

/test all

@varshab1210
Copy link
Copy Markdown
Member Author

/test v4.10-e2e


export OCP_VERSION="$(oc version)"
echo $OCP_VERSION

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

If we can avoid the dependency of the env var, that would be better. Folks may run these tests from an IDE without calling the script.

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 @wtam2018, that's a good point. But os.Getenv("OCP_VERSION") will return an empty string when OCP_VERSION is not set (if someone is running the test locally using make target) and we have seen the test passes on the local environment even on 4.9 cluster so I don't think that should be a problem. WDYT?

@varshab1210 varshab1210 marked this pull request as ready for review December 7, 2022 15:48
@openshift-ci openshift-ci Bot requested review from jaideepr97 and jannfis December 7, 2022 15:49
varshab1210 and others added 4 commits December 7, 2022 21:57
Signed-off-by: varshab1210 <vab@redhat.com>
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
Signed-off-by: varshab1210 <vab@redhat.com>
Signed-off-by: Yi Cai <yicai@redhat.com>

Signed-off-by: Yi Cai <yicai@redhat.com>
Signed-off-by: varshab1210 <vab@redhat.com>
Signed-off-by: varshab1210 <vab@redhat.com>
@wtam2018
Copy link
Copy Markdown
Collaborator

wtam2018 commented Dec 8, 2022

/test v4.9-e2e

Signed-off-by: varshab1210 <vab@redhat.com>
@varshab1210 varshab1210 force-pushed the conditional_skip branch 2 times, most recently from f9af5b0 to 2f2231a Compare December 8, 2022 13:40
Signed-off-by: varshab1210 <vab@redhat.com>
@varshab1210
Copy link
Copy Markdown
Member Author

/test v4.9-e2e

@varshab1210 varshab1210 changed the title Skip test based on condition Enable 'Validate granting permissions by label' test Dec 8, 2022
@wtam2018
Copy link
Copy Markdown
Collaborator

wtam2018 commented Dec 8, 2022

/lgtm
/approve

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Dec 8, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: wtam2018

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

@openshift-ci openshift-ci Bot added the approved label Dec 8, 2022
@openshift-merge-robot openshift-merge-robot merged commit ada4d7c into redhat-developer:master Dec 8, 2022
trdoyle81 pushed a commit to trdoyle81/gitops-operator that referenced this pull request Aug 13, 2024
…r#401)

* Skip test based on condition

Signed-off-by: varshab1210 <vab@redhat.com>

* chore: pick up latest argocd-operator commit

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
Signed-off-by: varshab1210 <vab@redhat.com>

* Add reconcile plugin condition (redhat-developer#402)

Signed-off-by: Yi Cai <yicai@redhat.com>

Signed-off-by: Yi Cai <yicai@redhat.com>
Signed-off-by: varshab1210 <vab@redhat.com>

* increase timeout and skip condition

Signed-off-by: varshab1210 <vab@redhat.com>

* Removing additional variable

Signed-off-by: varshab1210 <vab@redhat.com>

* lowering timeout

Signed-off-by: varshab1210 <vab@redhat.com>

* Enable test

Signed-off-by: varshab1210 <vab@redhat.com>

Signed-off-by: varshab1210 <vab@redhat.com>
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
Signed-off-by: Yi Cai <yicai@redhat.com>
Co-authored-by: ishitasequeira <ishiseq29@gmail.com>
Co-authored-by: Yi Cai <yicai@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved kind/failing-test Categorizes issue or PR as related to a frequently failing test. lgtm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants