231be14ff9c1eb613fdfa55c12f090cf9bfe8370,bigtable/metricscaler/metricscaler_test.py,,test_scale_bigtable,#,38

Before Change



    scale_bigtable(BIGTABLE_INSTANCE, BIGTABLE_INSTANCE, True)

    time.sleep(10)
    cluster.reload()

    new_node_count = cluster.serve_nodes
    assert (new_node_count == (original_node_count + SIZE_CHANGE_STEP))

After Change


    scale_bigtable(BIGTABLE_INSTANCE, BIGTABLE_INSTANCE, True)

    for n in range(10):
        time.sleep(10)
        cluster.reload()
        new_node_count = cluster.serve_nodes
        try:
            assert (new_node_count == (original_node_count + SIZE_CHANGE_STEP))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 231be14ff9c1eb613fdfa55c12f090cf9bfe8370
Time: 2019-06-14
Author: theaflowers@google.com
File Name: bigtable/metricscaler/metricscaler_test.py
Class Name:
Method Name: test_scale_bigtable


Project Name: andresriancho/w3af
Commit Name: d1db9eb1e8c5b5626708fc19af124fee7ba30fa0
Time: 2018-01-11
Author: andres.riancho@gmail.com
File Name: w3af/core/data/url/handlers/keepalive/connection_manager.py
Class Name: ConnectionManager
Method Name: get_available_connection