Commit 28ece2a0 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Try to make this test more stable under load.

parent dd4c1ed0
......@@ -5,13 +5,13 @@ feature SO_RCVTIMEO_WORKS
server s1 {
rxreq
send "HTTP/1.1 200 Ok\r\nConnection: close\r\n\r\n"
delay 1.5
delay 4.0
send "Baba\n"
} -start
varnish v1 -vcl+backend {
sub vcl_miss {
set bereq.between_bytes_timeout = 1s;
set bereq.between_bytes_timeout = 2s;
}
} -start
......@@ -24,14 +24,22 @@ client c1 {
server s1 {
rxreq
send "HTTP/1.1 200 Ok\r\nConnection: close\r\n\r\n"
delay 0.5
delay 1.0
send "Baba\n"
delay 0.5
delay 1.0
send "Baba\n"
delay 1.0
send "Baba\n"
delay 1.0
send "Baba\n"
delay 1.0
send "Baba\n"
} -start
client c1 {
txreq
timeout 10
rxresp
expect resp.status == 200
expect resp.bodylen == 25
} -run
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