Again fix test 00501_http_head

This commit is contained in:
proller 2017-09-06 22:07:22 +03:00
parent 888214e33d
commit b538df661a
2 changed files with 14 additions and 14 deletions

View File

@ -1,12 +1,12 @@
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Content-Type: text/tab-separated-values; charset=UTF-8
< Transfer-Encoding: chunked
< Keep-Alive: timeout=3
<
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Content-Type: text/tab-separated-values; charset=UTF-8
< Transfer-Encoding: chunked
< Keep-Alive: timeout=3
<
HTTP/1.1 200 OK
Connection: Keep-Alive
Content-Type: text/tab-separated-values; charset=UTF-8
Transfer-Encoding: chunked
Keep-Alive: timeout=3
HTTP/1.1 200 OK
Connection: Keep-Alive
Content-Type: text/tab-separated-values; charset=UTF-8
Transfer-Encoding: chunked
Keep-Alive: timeout=3

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
( curl -v --max-time 0.3 -X "HEAD" 'http://localhost:18123/?query=SELECT%201';
curl -v --max-time 0.3 -X "HEAD" 'http://localhost:18123/?query=select+*+from+system.numbers+limit+1000000' ) 2>&1 | grep -e "^<" | grep -v "Date:"
( curl -s --head "${CLICKHOUSE_URL:=http://localhost:8123/}?query=SELECT%201";
curl -s --head "${CLICKHOUSE_URL:=http://localhost:8123/}?query=select+*+from+system.numbers+limit+1000000" ) | grep -v "Date:"