fa8c9c1979d10bbaada4a2ea69b90bad620074c8,tests/integ/timeout.py,,_delete_schedules_associated_with_endpoint,#Any#Any#,117

Before Change


    schedule_list = response["MonitoringScheduleSummaries"]
    for schedule in schedule_list:
        sagemaker_session.delete_monitoring_schedule(
            monitoring_schedule_name=schedule["MonitoringScheduleName"]
        )


def _show_logs(resource_name, resource_type, sagemaker_session):

After Change


            monitor.stop_monitoring_schedule()
            executions = monitor.list_executions()
            for execution in executions:
                execution.stop()
            // Wait for all executions to completely stop.
            // Schedules can"t be deleted with running executions.
            for execution in executions:
                for _ in retries(60, "Waiting for executions to stop", seconds_to_sleep=5):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: aws/sagemaker-python-sdk
Commit Name: fa8c9c1979d10bbaada4a2ea69b90bad620074c8
Time: 2019-12-09
Author: knakad@amazon.com
File Name: tests/integ/timeout.py
Class Name:
Method Name: _delete_schedules_associated_with_endpoint


Project Name: pytorch/fairseq
Commit Name: b03b53b426deaa8bdf6c93d91e424c5571acf7e5
Time: 2018-03-05
Author: edunov@apache.org
File Name: fairseq/sequence_generator.py
Class Name: SequenceGenerator
Method Name: generate_batched_itr