c291175a975dfb9376724ececba10fcc9e2e43c0,distributed/tests/test_failed_workers.py,,test_multiple_clients_restart,#Any#Any#Any#,268

Before Change


    assert x.cancelled()
    assert y.cancelled()

    yield e1._close(fast=True)
    yield e2._close(fast=True)


@gen_cluster(Worker=Nanny, timeout=60)

After Change


    assert x.cancelled()
    start = time()
    while not y.cancelled():
        yield gen.sleep(0.01)
        assert time() < start + 5

    yield c1.close()
    yield c2.close()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: dask/distributed
Commit Name: c291175a975dfb9376724ececba10fcc9e2e43c0
Time: 2019-07-26
Author: mrocklin@gmail.com
File Name: distributed/tests/test_failed_workers.py
Class Name:
Method Name: test_multiple_clients_restart


Project Name: pantsbuild/pants
Commit Name: 2f05f0a57ffe1d3ec606b6c276b42599df315682
Time: 2018-12-12
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/base/test_exception_sink_integration.py
Class Name: ExceptionSinkIntegrationTest
Method Name: _make_waiter_handle


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: a9e134238e0e057fe9b66bf896aee2b584dd9cef
Time: 2020-01-21
Author: jonathanlui@google.com
File Name: storage/cloud-client/iam_test.py
Class Name:
Method Name: bucket