aa7f886eb9fcec3992493374539e70759ef850fb,tests/unittests/client/test_experiment_client.py,TestBroken,test_broken_trial,#TestBroken#,496

Before Change


            trial = client.suggest()
            assert trial.status == "reserved"

            atexit._run_exitfuncs()

            assert client._pacemakers == {}
            assert client.get_trial(trial).status == "broken"

After Change


        Test that broken trials are detected
        with create_experiment(config, base_trial) as (cfg, experiment, client):
            try:
                with client.suggest() as trial:
                    assert trial.status == "reserved"
                    raise RuntimeError("Dummy failure!")
            except:
                pass

            assert client._pacemakers == {}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: Epistimio/orion
Commit Name: aa7f886eb9fcec3992493374539e70759ef850fb
Time: 2021-04-06
Author: obilaniu@gmail.com
File Name: tests/unittests/client/test_experiment_client.py
Class Name: TestBroken
Method Name: test_broken_trial


Project Name: Epistimio/orion
Commit Name: 38b45f190d72044731ed0782212f061d974a35a1
Time: 2021-04-06
Author: obilaniu@gmail.com
File Name: tests/unittests/client/test_experiment_client.py
Class Name: TestBroken
Method Name: test_atexit_with_multiple_clients


Project Name: Epistimio/orion
Commit Name: 38b45f190d72044731ed0782212f061d974a35a1
Time: 2021-04-06
Author: obilaniu@gmail.com
File Name: tests/unittests/client/test_experiment_client.py
Class Name: TestBroken
Method Name: test_interrupted_trial