Browse Source

Merge pull request #46431 from rumpl/fix-ci-timeout

Use process substitution to redirect to tee
Sebastiaan van Stijn 1 năm trước cách đây
mục cha
commit
6dcefa3739
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      hack/make/test-docker-py
  2. 1 1
      hack/make/test-integration

+ 1 - 1
hack/make/test-docker-py

@@ -68,4 +68,4 @@ source hack/make/.integration-test-helpers
 		exec docker run --rm ${run_opts} --mount type=bind,"src=${ABS_DEST}","dst=/src/${DEST}" "${docker_py_image}" pytest ${PY_TEST_OPTIONS} tests/integration
 	)
 	bundle .integration-daemon-stop
-) 2>&1 | tee -a "$DEST/test.log"
+) &> >(tee -a "$DEST/test.log")

+ 1 - 1
hack/make/test-integration

@@ -24,4 +24,4 @@ fi
 	set -x
 	exit ${testexit}
 
-) 2>&1 | tee -a "$DEST/test.log"
+) &> >(tee -a "$DEST/test.log")