示例#1
0
def wait_for_server_start(pidFile, scmStatus):
  # Wait for the HTTP port to be open
  iter_start = 0
  while iter_start < SERVER_PING_ATTEMPTS_WINDOWS and not get_fqdn(SERVER_PING_TIMEOUT_WINDOWS):
    if scmStatus is not None:
      scmStatus.reportStartPending()
    iter_start += 1
def wait_for_server_start(pidFile, scmStatus):
    # Wait for the HTTP port to be open
    iter_start = 0
    while iter_start < SERVER_PING_ATTEMPTS_WINDOWS and not get_fqdn(
            SERVER_PING_TIMEOUT_WINDOWS):
        if scmStatus is not None:
            scmStatus.reportStartPending()
        iter_start += 1