소스 검색

Fix client process logging trigger

Richard Belleville 5 년 전
부모
커밋
5f7bb36d5e
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      tools/run_tests/run_xds_tests.py

+ 2 - 1
tools/run_tests/run_xds_tests.py

@@ -1808,11 +1808,12 @@ try:
                     # client's output as soon as it terminates. This enables
                     # authors of client binaries to debug simple failures quickly.
                     # This thread is responsible for closing the test_log file.
+
                     while client_process.returncode is None:
                         try:
                             client_process.wait(timeout=_LOGGING_THREAD_TIMEOUT_SECS)
                         except subprocess.TimeoutExpired:
-                            break
+                            continue
 
                     test_log_file.close()
                     if args.log_client_output: