There was a race condition in a .jsp script used in the alldata.lzx test, I just checked in a fix for it into trunk which should<br>prevent this. This<br>would only happen the first time that the script was called after server restart, because it was initializing a session var.<br>
<br><br><br><br><div class="gmail_quote">On Wed, Feb 13, 2008 at 11:22 AM, Henry Minsky <<a href="mailto:henry.minsky@gmail.com">henry.minsky@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You can just run the test test/lfc/data/alldata.lzx, that is where that error was happening. <br><div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Wed, Feb 13, 2008 at 11:21 AM, Henry Minsky <<a href="mailto:henry.minsky@gmail.com" target="_blank">henry.minsky@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I think that might be an error in the test itself, which I fixed in devildog. Try running it again, there was a bug<br>
whereby the delay the first time the .jsp's compile caused some sort of timing error. <br><br>I'll look and see if the changes to the test suite I made in devildog can be backported. <br><div><div></div><div>
<br><div class="gmail_quote">On Wed, Feb 13, 2008 at 10:41 AM, Donald Anderson <<a href="mailto:dda@ddanderson.com" target="_blank">dda@ddanderson.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Running ant runlzunit in a clean, up to date trunk:<br>
<br>
<a href="http://localhost:8080/trunk/test/lfc/data/alldata.lzx?lzr=swf7" target="_blank">http://localhost:8080/trunk/test/lfc/data/alldata.lzx?lzr=swf7</a><br>
<br>
gives:<br>
TestFailure: TestClientCacheBreaker >>> test1 failed: False:<br>
expected false got true<br>
<br>
The complete debug window follows. Should I care?<br>
Just wanted to establish a base for regression testing for my current<br>
work.<br>
Thanks.<br>
<br>
- Don<br>
<br>
<br>
testheaderresponse: dpready = true<br>
sending edata request<br>
testsetheaders.lzx sending edata<br>
sending edata_solo request<br>
testsetheaders.lzx sending edata_solo<br>
testcase got ds4 ondata<br>
testcase got edata ondata<br>
testcase got edata_solo ondata<br>
testcase got prdataput ondata<br>
running async test for loaded data (datapointer.lzx)<br>
ERROR @datapointer.lzx#21: <data><record a="1"> some Text </<br>
record><record a="2"><a/><b> fdksjhf</b><c/></record><foo a="11"> some<br>
Text </foo><match2><aa/><bb first="true"/><bb> some </bb><cc/></<br>
match2><match2><ee/><ff/><bb> otherbb </bb><bb last="true"/></match2></<br>
data> matched 2 nodes<br>
INFO @datapointer.lzx#21: <match2><ee/><ff/><bb> otherbb </bb><bb<br>
last="true"/></match2>.getNodeOffset is deprecated. Use XPath<br>
`position()` operator instead.<br>
ERROR @datapointer.lzx#18: <data><record a="1"> some Text </<br>
record><record a="2"><a/><b> fdksjhf</b><c/></record><foo a="11"> some<br>
Text </foo><match2><aa/><bb first="true"/><bb> some </bb><cc/></<br>
match2><match2><ee/><ff/><bb> otherbb </bb><bb last="true"/></match2></<br>
data> matched 2 nodes<br>
INFO @datapointer.lzx#18: <match2><ee/><ff/><bb> otherbb </bb><bb<br>
last="true"/></match2>.getNodeOffset is deprecated. Use XPath<br>
`position()` operator instead.<br>
running async test for loaded data (datapointerServerless.lzx)<br>
|some Text|<br>
ERROR @datapointerServerless.lzx#14: <data><record a="1">some Text</<br>
record><record a="2"><a/><b>fdksjhf</b><c/></record><foo a="11">some<br>
Text</foo><match2><aa/><bb first="true"/><bb>some</bb><cc/></<br>
match2><match2><ee/><ff/><bb>otherbb</bb><bb last="true"/></match2></<br>
data> matched 2 nodes<br>
«ˇLzDataElement!#9| <match2><ee/><ff/><bb>otherbb</bb><bb last="true"/<br>
></match2>»<br>
INFO @datapointerServerless.lzx#14: <match2><ee/><ff/><bb>otherbb</<br>
bb><bb last="true"/></match2>.getNodeOffset is deprecated. Use XPath<br>
`position()` operator instead.<br>
INFO: setNodeName: p is null in Datapath for dataEventReporter name:<br>
etc1<br>
undefined<br>
ERROR: <record>first<a foo="car"/><b/></record> matched 4 nodes<br>
running async test for loaded data (namespace.lzx)<br>
type of dataset http<br>
dp «lz.datapointer#16| <persons secret="secret.names"<br>
foo="foo.bar"><person color="you blew it foo" name="bret"<br>
id="1"><firstName>Dan</firstName><lastName>McGowan</<br>
lastName><modifyDate>3/25/05</modifyDate><address code="ML"<br>
id="1"><line1>2210 North 184th Street</line1><line2/...»<br>
dpns «lz.datapointer#17| <persons xmlns:foo="foo.bar"<br>
xmlns:secret="secret.names"><foo:person id="1" name="jonny"<br>
secret:name="bret" secret:color="you blew it" foo:color="you blew it<br>
foo"><firstName>Dan</firstName><lastName>McGowan</<br>
lastName><modifyDate>3/25/05</modifyDate><add...»<br>
localds «lz.dataset#18| <localds><persons secret="secret.names"<br>
foo="foo.bar"><person color="you blew it foo" name="bret"<br>
id="1"><firstName>Dan</firstName><lastName>McGowan</<br>
lastName><modifyDate>3/25/05</modifyDate><address code="ML"<br>
id="1"><line1>2210 North 184th Street</line...»<br>
running async test for loaded data (namespace-solo.lzx)<br>
type of dataset http<br>
dpns «lz.datapointer#19| <persons xmlns:foo="foo.bar"<br>
xmlns:secret="secret.names"><foo:person id="1" name="jonny"<br>
secret:name="bret" secret:color="you blew it" foo:color="you blew it<br>
foo"><firstName>Dan</firstName><lastName>McGowan</<br>
lastName><modifyDate>3/25/05</modifyDate><add...»<br>
running async test for loaded data (whitespace.lzx)<br>
dpp «lz.datapointer#20| <persons><person id="2"><firstName>Barry</<br>
firstName><lastName>Bonds</lastName><modifyDate>3/25/05</modifyDate></<br>
person><person id="3"><firstName>Jeff &quot;The Jeffster&quot;<br>
Rodger Morton Tanith</firstName><lastName>Beck</<br>
lastName><modifyDate>3/25/0...»<br>
dps «lz.datapointer#21| <persons><person id="2"><firstName>Barry</<br>
firstName><lastName>Bonds</lastName><modifyDate>3/25/05</modifyDate></<br>
person><person id="3"><firstName>Jeff &quot;The Jeffster&quot;<br>
Rodger Morton Tanith</firstName><lastName>Beck</<br>
lastName><modifyDate>3/25/0...»<br>
running async test for loaded data (sendheaders.lzx)<br>
type of dataset http<br>
dp «lz.datapointer#22| <data><record a="1"> some Text </record><record<br>
a="2"><a/><b> fdksjhf</b><c/></record><foo a="11"> some Text </<br>
foo><match2><aa/><bb first="true"/><bb> some </bb><cc/></<br>
match2><match2><ee/><ff/><bb> otherbb </bb><bb last="true"/></match2></<br>
data>»<br>
this.dpready = true<br>
running testsetheaders test on loaded data<br>
/echo/headers/text()=<br>
<br>
Header: user-agent : Mozilla/5.0 (Macintosh; U; Intel Mac OS X;<br>
en-US; rv:<a href="http://1.8.1.12" target="_blank">1.8.1.12</a>) Gecko/20080201 Firefox/2.0.0.12<br>
Header: accept : text/xml,application/xml,application/xhtml<br>
+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5<br>
Header: accept-language : en-us,en;q=0.5<br>
Header: accept-charset : ISO-8859-1,utf-8;q=0.7,*;q=0.7<br>
Header: keep-alive : 300<br>
Header: cookie : JSESSIONID=0F83C93E4937000E8FFF4218FF824937<br>
Header: referer : <a href="http://localhost:8080/trunk-review/test/lfc/data/alldata.lzx?lzt=swf&lzr=swf7" target="_blank">http://localhost:8080/trunk-review/test/lfc/data/alldata.lzx?lzt=swf&lzr=swf7</a><br>
Header: content-type : pink-elephants/xml<br>
Header: host : localhost:8080<br>
Header: content-length : 17<br>
running testsetheaders test on loaded data<br>
/echo/headers/text()=<br>
<br>
Header: host : localhost:8080<br>
Header: user-agent : Mozilla/5.0 (Macintosh; U; Intel Mac OS X;<br>
en-US; rv:<a href="http://1.8.1.12" target="_blank">1.8.1.12</a>) Gecko/20080201 Firefox/2.0.0.12<br>
Header: accept : text/xml,application/xml,application/xhtml<br>
+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5<br>
Header: accept-language : en-us,en;q=0.5<br>
Header: accept-encoding : gzip,deflate<br>
Header: accept-charset : ISO-8859-1,utf-8;q=0.7,*;q=0.7<br>
Header: keep-alive : 300<br>
Header: connection : keep-alive<br>
Header: cookie : JSESSIONID=0F83C93E4937000E8FFF4218FF824937<br>
Header: referer : <a href="http://localhost:8080/trunk-review/test/lfc/data/alldata.lzx?lzt=swf&lzr=swf7" target="_blank">http://localhost:8080/trunk-review/test/lfc/data/alldata.lzx?lzt=swf&lzr=swf7</a><br>
Header: content-type : pink-elephants/xml<br>
Header: my-other-personal-header : milk chocolate with almonds<br>
Header: my-personal-header : vanilla/with-chocolate-syrup<br>
Header: content-length : 23<br>
running async test for loaded data (testrawpost.lzx)<br>
running async test for loaded data testput) «lz.datapointer#23|<br>
LzDatapointer name: dp »<br>
running async test for loaded data (testheaderresponse.lzx)<br>
hdrs= «lz.params#24| Server=Apache-Coyote/1.1&Date=Wed, 13 Feb 2008<br>
15:35:46 GMT&ETag=W/"604-1193188782000"»<br>
running async test for loaded data (testclientcachebreaker.lzx)<br>
«lz.datapointer#25| LzDatapointer name: dp »<br>
ERROR: False: expected false got true<br>
WARNING: Sent extra global mouse event<br>
<font color="#888888"><br>
<br>
<br>
--<br>
<br>
Don Anderson<br>
Java/C/C++, Berkeley DB, systems consultant<br>
<br>
voice: 617-547-7881<br>
email: <a href="mailto:dda@ddanderson.com" target="_blank">dda@ddanderson.com</a><br>
www: <a href="http://www.ddanderson.com" target="_blank">http://www.ddanderson.com</a><br>
<br>
<br>
<br>
<br>
<br>
</font></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com" target="_blank">hminsky@laszlosystems.com</a><br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com" target="_blank">hminsky@laszlosystems.com</a><br><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br>