[4.1] 4590fd9 Fix test in case someone has enough time to run it

Lasse Karstensen lkarsten at varnish-software.com
Thu Jan 14 15:15:05 CET 2016

commit 4590fd99eb8bddc82a2a2e575a365d8cd6f2f040
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Wed Nov 18 01:00:40 2015 +0900

    Fix test in case someone has enough time to run it
    P.S. It requires -t 80.

diff --git a/bin/varnishtest/tests.disabled/r01252.vtc b/bin/varnishtest/tests.disabled/r01252.vtc
index 174ee97..fd820e9 100644
--- a/bin/varnishtest/tests.disabled/r01252.vtc
+++ b/bin/varnishtest/tests.disabled/r01252.vtc
@@ -22,19 +22,19 @@ server s2 {
 varnish v1 -arg "-p debug=+waitinglist" -vcl+backend {
 	sub vcl_recv {
 		if (req.http.x-client == "2") {
-			set req.backend = s2;
+			set req.backend_hint = s2;
 } -start
 varnish v1 -cliok "param.show tcp_keepalive_time"
-varnish v1 -cliok "param.set tcp_keepalive_time 1s"
+varnish v1 -cliok "param.set tcp_keepalive_time 1"
 varnish v1 -cliok "param.show tcp_keepalive_probes"
 varnish v1 -cliok "param.set tcp_keepalive_probes 1"
 varnish v1 -cliok "param.show tcp_keepalive_intvl"
-varnish v1 -cliok "param.set tcp_keepalive_intvl 1s"
+varnish v1 -cliok "param.set tcp_keepalive_intvl 1"
 varnish v1 -cliok "param.show first_byte_timeout"
 varnish v1 -cliok "param.set first_byte_timeout 70"

More information about the varnish-commit mailing list