Skip to content

Conversation

@andfasano
Copy link
Contributor

This patch adds the possibility to override the current timeout defined at the suite level for a specif test. This is required since in some specific cases a single test may require some extra time to successfully complete its execution, and it's not desirable to modify the global suite timeout since it will affect also other tests in the same suite.

The timeout is specified as part of the name using the special tag [Timeout:<duration>] with the required duration string, for example:

...
g.It("skip inspection when disabled by annotation [Timeout:300s]", func() {
...

In case of a malformed/incorrect duration string an error will be reported immediatly.

@openshift-ci openshift-ci bot requested review from csrwng and jwforres February 10, 2022 16:25
@andfasano
Copy link
Contributor Author

Related to #26810

@andfasano
Copy link
Contributor Author

cc @soltysh @bfournie

@bfournie
Copy link
Contributor

/retest

@bfournie
Copy link
Contributor

/lgtm

Copy link
Contributor

@soltysh soltysh left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 11, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andfasano, bfournie, soltysh

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 Feb 11, 2022
@andfasano
Copy link
Contributor Author

/retest-required

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 11, 2022

@andfasano: all tests passed!

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

@openshift-merge-robot openshift-merge-robot merged commit 093a240 into openshift:master Feb 11, 2022
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.

4 participants