Skip to content

Reduce sleep time in "inhibits ClusterOperatorDegraded" unit test in osde2e inhibitions suite#2952

Merged
openshift-merge-bot[bot] merged 2 commits intoopenshift:mainfrom
btoll:OSD-30365
Jun 3, 2025
Merged

Reduce sleep time in "inhibits ClusterOperatorDegraded" unit test in osde2e inhibitions suite#2952
openshift-merge-bot[bot] merged 2 commits intoopenshift:mainfrom
btoll:OSD-30365

Conversation

@btoll
Copy link
Copy Markdown
Contributor

@btoll btoll commented May 31, 2025

The time.Sleep in this test is currently set to 10 minutes. This seems gratuitous and should be reduced, if possible.

This came on our radar because of the ticket
https://issues.redhat.com/browse/OSD-29225, which fixes an issue where the first unit test defined in the inhibitions suite was consistently failing due to the unit test attempting to do a deep equality check on slices of different types.

This was tested locally. See this document to learn how to test this locally: https://gitlab.cee.redhat.com/insight-global/docs/-/blob/master/osde2e.md

https://issues.redhat.com/browse/OSD-30365

…`osde2e` inhibitions suite

The `time.Sleep` in this test is currently set to 10 minutes.  This
seems gratuitous and should be reduced, if possible.

This came on our radar because of the ticket
https://issues.redhat.com/browse/OSD-29225, which fixes an issue where
the first unit test defined in the `inhibitions` suite was consistently
failing due to the unit test attempting to do a deep equality check on
slices of different types.

See this document to learn how to test this locally:
https://gitlab.cee.redhat.com/insight-global/docs/-/blob/master/osde2e.md
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 31, 2025
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 31, 2025

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

Copy link
Copy Markdown
Contributor

@christophermancini christophermancini left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jun 2, 2025
@btoll btoll marked this pull request as ready for review June 3, 2025 00:25
@openshift-ci openshift-ci Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 3, 2025
@openshift-ci openshift-ci Bot requested review from YiqinZhang and jbpratt June 3, 2025 00:25
@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Jun 3, 2025
@jbpratt
Copy link
Copy Markdown
Contributor

jbpratt commented Jun 3, 2025

/override "Red Hat Konflux / osde2e-enterprise-contract / osde2e-main"
/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jun 3, 2025
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 3, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: btoll, christophermancini, jbpratt

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 Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 3, 2025
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 3, 2025

@jbpratt: /override requires failed status contexts, check run or a prowjob name to operate on.
The following unknown contexts/checkruns were given:

  • Red Hat Konflux / osde2e-enterprise-contract / osde2e-main

Only the following failed contexts/checkruns were expected:

  • ci/prow/code-quality-checks
  • ci/prow/hypershift-pr-check
  • pull-ci-openshift-osde2e-main-code-quality-checks
  • pull-ci-openshift-osde2e-main-hypershift-pr-check
  • tide

If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.

Details

In response to this:

/override "Red Hat Konflux / osde2e-enterprise-contract / osde2e-main"
/lgtm

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-sigs/prow repository.

@jbpratt
Copy link
Copy Markdown
Contributor

jbpratt commented Jun 3, 2025

/override "Red Hat Konflux / osde2e-enterprise-contract / osde2e-main"

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 3, 2025

@jbpratt: Overrode contexts on behalf of jbpratt: Red Hat Konflux / osde2e-enterprise-contract / osde2e-main

Details

In response to this:

/override "Red Hat Konflux / osde2e-enterprise-contract / osde2e-main"

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-sigs/prow repository.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 3, 2025

@btoll: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/hypershift-pr-check 8978294 link false /test hypershift-pr-check

Full PR test history. Your PR dashboard.

Details

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-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot Bot merged commit 42592a6 into openshift:main Jun 3, 2025
4 of 6 checks passed
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. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants