Skip to content

Increasing test timeouts and disabling stop tests #235

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

Merged
merged 3 commits into from
Apr 7, 2023

Conversation

ananth102
Copy link
Member

@ananth102 ananth102 commented Apr 6, 2023

Issue #, if available:

Description of changes:

Monitoring Schedule can sometimes reach the scheduled state before the controller can verify that it is in Pending state. This PR removes the check for pending/resource synced.

Also increasing timeouts and disabling test_*_stopped tests

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ack-prow ack-prow bot requested review from rd-pong and vijtrip2 April 6, 2023 21:54
@ack-prow ack-prow bot added the approved label Apr 6, 2023
@ryansteakley
Copy link
Member

Why is the code change in model-monitor but everything else references model-package?

@ananth102 ananth102 changed the title Removing check for pending state in Model Package test Removing check for pending state in Monitoring Schedule test Apr 6, 2023
@ananth102
Copy link
Member Author

ananth102 commented Apr 6, 2023

Why is the code change in model-monitor but everything else references model-package?

Fixed, resource names are similar.

)
== self.STATUS_PENDING
)
assert k8s.wait_on_condition(reference, "ACK.ResourceSynced", "False", 5, 2)

self._assert_monitoring_schedule_status_in_sync(
Copy link
Member

Choose a reason for hiding this comment

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

do we need to increase wait time for this check?

also can we do the same for feature group?

@ananth102
Copy link
Member Author

/hold

@ack-prow ack-prow bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 6, 2023
Copy link
Member

@surajkota surajkota left a comment

Choose a reason for hiding this comment

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

change for training as well -

def test_stopped(self, xgboost_training_job):

lgtm otherwise

@surajkota
Copy link
Member

/approve

@ananth102 ananth102 changed the title Removing check for pending state in Monitoring Schedule test Increasing test timeouts and disabling stop tests Apr 7, 2023
@ananth102
Copy link
Member Author

/unhold

@ack-prow ack-prow bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 7, 2023
@ryansteakley
Copy link
Member

/lgtm

@ack-prow ack-prow bot added the lgtm Indicates that a PR is ready to be merged. label Apr 7, 2023
@ack-prow
Copy link

ack-prow bot commented Apr 7, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ananth102, ryansteakley, surajkota

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:
  • OWNERS [ananth102,ryansteakley,surajkota]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ack-prow ack-prow bot merged commit dca96d4 into aws-controllers-k8s:main Apr 7, 2023
ananth102 added a commit to ananth102/ack-sagemaker-controller that referenced this pull request Apr 7, 2023
…s#235)

Issue #, if available:

Description of changes:

Monitoring Schedule can sometimes reach the scheduled state before the controller can verify that it is in Pending state. This PR removes the check for pending/resource synced.

Also increasing timeouts and disabling test_*_stopped tests

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
ananth102 added a commit to ananth102/ack-sagemaker-controller that referenced this pull request Apr 7, 2023
…s#235)

Issue #, if available:

Description of changes:

Monitoring Schedule can sometimes reach the scheduled state before the controller can verify that it is in Pending state. This PR removes the check for pending/resource synced.

Also increasing timeouts and disabling test_*_stopped tests

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
ananth102 added a commit that referenced this pull request Apr 10, 2023
Issue #, if available:

Description of changes:

Monitoring Schedule can sometimes reach the scheduled state before the controller can verify that it is in Pending state. This PR removes the check for pending/resource synced.

Also increasing timeouts and disabling test_*_stopped tests

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
ryansteakley pushed a commit to ryansteakley/sagemaker-controller that referenced this pull request Jan 19, 2024
…s#235)

Issue #, if available:

Description of changes:

Monitoring Schedule can sometimes reach the scheduled state before the controller can verify that it is in Pending state. This PR removes the check for pending/resource synced.

Also increasing timeouts and disabling test_*_stopped tests

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved 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