You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2022/01/03 11:40:47 UTC

[apisix] branch master updated: test(UDP): use longer timeout to avoid 'echo: write error: Broken pipe' (#5989)

This is an automated email from the ASF dual-hosted git repository.

spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 2f27707  test(UDP): use longer timeout to avoid 'echo: write error: Broken pipe' (#5989)
2f27707 is described below

commit 2f277072cc663d674c1bf988d86f8b429ee1922c
Author: 罗泽轩 <sp...@gmail.com>
AuthorDate: Mon Jan 3 19:40:40 2022 +0800

    test(UDP): use longer timeout to avoid 'echo: write error: Broken pipe' (#5989)
---
 t/cli/test_access_log.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/cli/test_access_log.sh b/t/cli/test_access_log.sh
index 1f4cfd5..705c4a6 100755
--- a/t/cli/test_access_log.sh
+++ b/t/cli/test_access_log.sh
@@ -251,7 +251,7 @@ echo "passed: stream access_log_format in nginx.conf is ok"
 make run
 sleep 0.1
 # sending single udp packet
-echo -n "hello" | nc -4u -w0 localhost 9200
+echo -n "hello" | nc -4u -w1 localhost 9200
 sleep 4
 tail -n 1 logs/access_stream.log > output.log