Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Bugs

#1081: varnishtest fails when using error statement in vcl

 

 

Varnish bugs RSS feed   Index | Next | Previous | View Threaded


varnish-bugs at varnish-cache

Jan 6, 2012, 5:56 AM

Post #1 of 2 (77 views)
Permalink
#1081: varnishtest fails when using error statement in vcl

#1081: varnishtest fails when using error statement in vcl
-----------------------------------------+----------------------------------
Reporter: tmagnien | Type: defect
Status: new | Priority: normal
Milestone: | Component: varnishtest
Version: 3.0.2 | Severity: normal
Keywords: varnishtest error statement |
-----------------------------------------+----------------------------------
Hi,

I've found that using the error statement in the vcl part of varnishtest
makes all subsequent tests fail.

Please find attached :
- ok.vtc
- nok.vtc
- output for nok.vtc

Regards,
Thierry

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1081>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Jan 9, 2012, 3:07 AM

Post #2 of 2 (78 views)
Permalink
Re: #1081: varnishtest fails when using error statement in vcl [In reply to]

#1081: varnishtest fails when using error statement in vcl
-------------------------+--------------------------------------------------
Reporter: tmagnien | Type: defect
Status: closed | Priority: normal
Milestone: | Component: varnishtest
Version: 3.0.2 | Severity: normal
Resolution: worksforme | Keywords: varnishtest error statement
-------------------------+--------------------------------------------------
Changes (by phk):

* status: new => closed
* resolution: => worksforme


Comment:

vcl_error closes the client connection, so you need to reopen it again in
your testcase.

Look at test v00011.vtc for example

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1081#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs

Varnish bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.