-
Notifications
You must be signed in to change notification settings - Fork 80
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
RHCEPHQE-17401: Refactor with context in parallel module. #4357
Conversation
@psathyan: This pull request references RHCEPHQE-17401 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "odf-4.18" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
25531dc
to
b9128e0
Compare
@psathyan: This pull request references RHCEPHQE-17401 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "odf-4.18" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
@psathyan: This pull request references RHCEPHQE-17401 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "odf-4.18" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
b9128e0
to
4ba1b0d
Compare
@psathyan: This pull request references RHCEPHQE-17401 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "odf-4.18" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
4ba1b0d
to
df60e41
Compare
The initial design populated the results only when it had completed successfully. This could be a impact when qe is refering the values during the context. In this PR, the futures.as_completed is not used instead the timeout is controlled via datetime methods. Also, results are continued to be appended at the end of the method. The iteration is modified to use `_futures` instead of _results. This way we can capture details on the cancelled threads also. Signed-off-by: Pragadeeswaran Sathyanarayanan <pragadeeswaran.sathyanarayanan@ibm.com>
df60e41
to
76f6f8c
Compare
@psathyan: This pull request references RHCEPHQE-17401 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "odf-4.18" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
I have tested these changes on the failing suite, and they are working as expected. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: AmarnatReddy, psathyan, vamahaja The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This pull request has been removed from the queue for the following reason: Pull request #4357 has been dequeued. The pull request rule doesn't match anymore. The following conditions don't match anymore:
You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. If you want to requeue this pull request, you need to post a comment with the text: |
New changes are detected. LGTM label has been removed. |
Description
The initial design populated the results only when it had completed successfully. This could be a impact when qe is refering the values during the context.
In this PR, the futures.as_completed is not used instead the timeout is controlled via datetime methods. Also, results are continued to be appended at the end of the method.
The iteration is modified to use
_futures
instead of _results. This way we can capture details on the cancelled threads also.Unit Testing
Logs