cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@apache.org>
Subject webdav-step3 test fails with caching pipeline (was: [VOTE] Release of 2.1.6)
Date Thu, 18 Nov 2004 16:14:52 GMT

Le 18 nov. 04, à 10:45, Guido Casper a écrit :

> <sleep seconds="1"/>

I've tried it but it didn't help.

Setting the pipeline in step3/sitemap.xmap to noncaching did help - the  
webdav-step3 test passes every time now on my macosx / JDK 1.4.2 setup.  
Hmm...

Without this change, If I run the test several times, I sometimes get  
no errors, and sometimes one of the ones below, or both:

   [foreach] webdav-step3.xml:44: Running test [XPath: select  
/html/body/form/p/input[@name='title']/@value, pattern Content B]        
    Failure:  
file:/Users/bert/workspace/apache/cocoon-2.2/BRANCH_2_1_X/build/cocoon 
-2.1.6-dev/test/anteater/webdav-step3.xml:44: XPath  
/html/body/form/p/input[@name='title']/@value: expected pattern  
'Content B', got 'Title changed by anteater step3 test'.

   [foreach] webdav-step3.xml:93: Running test [XPath: select  
/html/body/form/p/input[@name='title']/@value, pattern Content B]        
    Failure:  
file:/Users/bert/workspace/apache/cocoon-2.2/BRANCH_2_1_X/build/cocoon 
-2.1.6-dev/test/anteater/webdav-step3.xml:93: XPath  
/html/body/form/p/input[@name='title']/@value: expected pattern  
'Content B', got 'Title changed by anteater step3 test'.

And sometimes the whole webdav-step3 test passes.

I've also tried adding ?dummy=1 with different values at the end of  
each contentB.xml URL (to try to prevent caching) but it didn't help  
either.

But with the noncaching pipeline all is well. If someone has time to  
investigate deeper...

-Bertrand
Mime
View raw message