Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions test/e2e/tests/test_monitoring_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,19 +165,6 @@ def test_smoke(
monitoring_schedule_arn = monitoring_schedule_desc["MonitoringScheduleArn"]
assert k8s.get_resource_arn(resource) == monitoring_schedule_arn

# scheule transitions Pending -> Scheduled state
# Pending status is shortlived only for 30 seconds because baselining job has already been run
# remove the checks for Pending status if the test is flaky because of this
# as the main objective is to test for Scheduled status
# OR
# create the schedule with a on-going baseline job where it waits for the baselining job to complete
assert (
wait_resource_monitoring_schedule_status(
reference, self.STATUS_PENDING, 5, 2
)
== 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?

sagemaker_client, monitoring_schedule_name, reference, self.STATUS_SCHEDULED
Expand Down