def wait_net_service(server, port, sleep=10, timeout=5):

    s = socket.socket()

    while True:
        try:
            s.settimeout(timeout)
            s.connect((server, port))
        except:
            time.sleep(sleep)
        else:
            s.close()
            return True
A failure to read or write to the Git config.
dataset/ETHPy150Open StackStorm/st2contrib/packs/cassandra/actions/wait_for_port_open.py/wait_net_service--crossover with--dataset/ETHPy150Open robmadole/jig/src/jig/commands/tests/test_sticky.py/TestStickyCommand.test_git_config_error