Commit 4e5b626e authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Use --write-only without the --time-abort. Use the new "shutdown"

command of get-time-client.  Allow the server half a minute to fill
the output queue for the --write-only test.
parent fe84221e
......@@ -73,16 +73,23 @@ simple_expect "0 pending reqs"
simple_expect ""
get_time_client_death 3
get_time_client_start 4 {"--time-abort" "--write-only"}
set old $timeout
set timeout 20
get_time_client_start 4 {"--write-only"}
send "ping\n"
simple_expect "pong"
talk_to lyskomd
# Give the server 30 seconds to fill the output queue, and then
# 10 seconds to realize that it is stale.
set old $timeout
set timeout 40
simple_expect "Client 5 from $any* has stalled\. Killing it\."
set timeout $old
talk_to get_time_client 4
send "ping\n"
simple_expect "pong"
send "shutdown\n"
simple_expect "End of progress reports"
set timeout $old
simple_expect "$any_num reqs, $any_num bytes, $any_num reads"
extracting_expect "($any_num) reqs, $any_num bytes, $any_num writes" reqs 1
simple_expect "$reqs pending reqs"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment