コード例 #1
0
ファイル: run_interop_tests.py プロジェクト: wilhuff/grpc
def _job_kill_handler(job):
  if job._spec.container_name:
    dockerjob.docker_kill(job._spec.container_name)
    # When the job times out and we decide to kill it,
    # we need to wait a before restarting the job
    # to prevent "container name already in use" error.
    # TODO(jtattermusch): figure out a cleaner way to to this.
    time.sleep(2)
コード例 #2
0
ファイル: run_interop_tests.py プロジェクト: jango2015/grpc
def _job_kill_handler(job):
    if job._spec.container_name:
        dockerjob.docker_kill(job._spec.container_name)
        # When the job times out and we decide to kill it,
        # we need to wait a before restarting the job
        # to prevent "container name already in use" error.
        # TODO(jtattermusch): figure out a cleaner way to to this.
        time.sleep(2)
コード例 #3
0
ファイル: run_interop_tests.py プロジェクト: xwlan/grpc
def _job_kill_handler(job):
  if job._spec.container_name:
    dockerjob.docker_kill(job._spec.container_name)
コード例 #4
0
ファイル: run_interop_tests.py プロジェクト: pugna0/grpc
def _job_kill_handler(job):
    if job._spec.container_name:
        dockerjob.docker_kill(job._spec.container_name)