[master] 9ca5764 Fix issues exposed by different scheduling on OmniOS.

Poul-Henning Kamp phk at varnish-cache.org
Wed Sep 18 11:57:21 CEST 2013


commit 9ca576494840f6f2d638531b68167706133448f0
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Sep 18 09:56:27 2013 +0000

    Fix issues exposed by different scheduling on OmniOS.
    
    Notice the "-wait" necessary before reconfiguring server s1, this
    mistake is probably present in other testcases too.

diff --git a/bin/varnishtest/tests/b00020.vtc b/bin/varnishtest/tests/b00020.vtc
index dbe6831..3cf5e4b 100644
--- a/bin/varnishtest/tests/b00020.vtc
+++ b/bin/varnishtest/tests/b00020.vtc
@@ -6,7 +6,7 @@ server s1 {
 	rxreq
 	send "HTTP/1.1 200 Ok\r\nConnection: close\r\n\r\n"
 	delay 1.5
-	send "Baba\n"
+	# send "Baba\n"
 } -start
 
 varnish v1 -vcl+backend {
@@ -25,7 +25,7 @@ client c1 {
 varnish v1 -expect n_object == 0
 varnish v1 -expect n_objectcore == 0
 
-server s1 {
+server s1 -wait {
 	rxreq
 	send "HTTP/1.1 200 Ok\r\nConnection: close\r\n\r\n"
 	delay 0.5



More information about the varnish-commit mailing list