3857327e011ccf7095613d5d01843cc36e67ac37,tests/integ/test_mxnet_train.py,,test_deploy_model_with_update_endpoint,#Any#Any#Any#,155

Before Change


        assert old_config_name != new_config_name
        assert new_production_variants["InstanceType"] == "ml.m4.xlarge"
        assert new_production_variants["InitialInstanceCount"] == 1
        assert new_production_variants["AcceleratorType"] is None


@pytest.mark.skip(
    reason="This test has always failed, but the failure was masked by a bug. "

After Change



        // Wait for endpoint to finish updating
        max_retry_count = 40  // Endpoint update takes ~7min. 40 retries * 30s sleeps = 20min timeout
        current_retry_count = 0
        while current_retry_count <= max_retry_count:
            if current_retry_count >= max_retry_count:
                raise Exception("Endpoint status not "InService" within expected timeout.")
            time.sleep(30)
            new_endpoint = sagemaker_session.sagemaker_client.describe_endpoint(
                EndpointName=endpoint_name
            )
            current_retry_count += 1
            if new_endpoint["EndpointStatus"] == "InService":
                break

        new_config_name = new_endpoint["EndpointConfigName"]
        new_config = sagemaker_session.sagemaker_client.describe_endpoint_config(
            EndpointConfigName=new_config_name
        )
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 4

Instances


Project Name: aws/sagemaker-python-sdk
Commit Name: 3857327e011ccf7095613d5d01843cc36e67ac37
Time: 2019-08-13
Author: knakad@amazon.com
File Name: tests/integ/test_mxnet_train.py
Class Name:
Method Name: test_deploy_model_with_update_endpoint


Project Name: tensorflow/cleverhans
Commit Name: 9899a6ef39d93c43d47a844e57419d90b5b84456
Time: 2018-10-11
Author: goodfellow@google.com
File Name: cleverhans/serial.py
Class Name: NoRefModel
Method Name: get_vars


Project Name: mathics/Mathics
Commit Name: e9ef3645ba35903b0df49c7301cde6945b052cbd
Time: 2018-10-08
Author: w.vollprecht@gmail.com
File Name: test/test_console.py
Class Name: ConsoleTest
Method Name: testLaunch


Project Name: markovmodel/PyEMMA
Commit Name: 0c42c23438b217aa7583eaf626b4288072b55ac5
Time: 2017-09-19
Author: m.scherer@fu-berlin.de
File Name: pyemma/_base/serialization/jsonpickler_handlers.py
Class Name: H5BackendLinkageHandler
Method Name: next_array_id


Project Name: openml/openml-python
Commit Name: 67f8e19ec14eed5f58893be6bee44e50519ea2c4
Time: 2017-05-23
Author: feurerm@informatik.uni-freiburg.de
File Name: tests/test_flows/test_flow.py
Class Name: TestFlow
Method Name: test_sklearn_to_upload_to_flow


Project Name: ray-project/ray
Commit Name: f2408b719c991b98ba5dc77db81dc184805b33df
Time: 2020-09-17
Author: weepingwillowben@gmail.com
File Name: rllib/env/pettingzoo_env.py
Class Name: PettingZooEnv
Method Name: step