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 &lt;<a href="mailto:henry.minsky@gmail.com">henry.minsky@gmail.com</a>&gt; 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 &lt;<a href="mailto:henry.minsky@gmail.com" target="_blank">henry.minsky@gmail.com</a>&gt; 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&#39;s compile caused some sort of timing error. <br><br>I&#39;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 &lt;<a href="mailto:dda@ddanderson.com" target="_blank">dda@ddanderson.com</a>&gt; 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>
 &nbsp; <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>
 &nbsp; &nbsp;TestFailure: TestClientCacheBreaker &gt;&gt;&gt; test1 failed: False:<br>
expected false got true<br>
<br>
The complete debug window follows. &nbsp;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: &lt;data&gt;&lt;record a=&quot;1&quot;&gt; some Text &lt;/<br>
record&gt;&lt;record a=&quot;2&quot;&gt;&lt;a/&gt;&lt;b&gt; fdksjhf&lt;/b&gt;&lt;c/&gt;&lt;/record&gt;&lt;foo a=&quot;11&quot;&gt; some<br>
Text &lt;/foo&gt;&lt;match2&gt;&lt;aa/&gt;&lt;bb first=&quot;true&quot;/&gt;&lt;bb&gt; some &lt;/bb&gt;&lt;cc/&gt;&lt;/<br>
match2&gt;&lt;match2&gt;&lt;ee/&gt;&lt;ff/&gt;&lt;bb&gt; otherbb &lt;/bb&gt;&lt;bb last=&quot;true&quot;/&gt;&lt;/match2&gt;&lt;/<br>
data&gt; matched 2 nodes<br>
INFO @datapointer.lzx#21: &lt;match2&gt;&lt;ee/&gt;&lt;ff/&gt;&lt;bb&gt; otherbb &lt;/bb&gt;&lt;bb<br>
last=&quot;true&quot;/&gt;&lt;/match2&gt;.getNodeOffset is deprecated. &nbsp;Use XPath<br>
`position()` operator instead.<br>
ERROR @datapointer.lzx#18: &lt;data&gt;&lt;record a=&quot;1&quot;&gt; some Text &lt;/<br>
record&gt;&lt;record a=&quot;2&quot;&gt;&lt;a/&gt;&lt;b&gt; fdksjhf&lt;/b&gt;&lt;c/&gt;&lt;/record&gt;&lt;foo a=&quot;11&quot;&gt; some<br>
Text &lt;/foo&gt;&lt;match2&gt;&lt;aa/&gt;&lt;bb first=&quot;true&quot;/&gt;&lt;bb&gt; some &lt;/bb&gt;&lt;cc/&gt;&lt;/<br>
match2&gt;&lt;match2&gt;&lt;ee/&gt;&lt;ff/&gt;&lt;bb&gt; otherbb &lt;/bb&gt;&lt;bb last=&quot;true&quot;/&gt;&lt;/match2&gt;&lt;/<br>
data&gt; matched 2 nodes<br>
INFO @datapointer.lzx#18: &lt;match2&gt;&lt;ee/&gt;&lt;ff/&gt;&lt;bb&gt; otherbb &lt;/bb&gt;&lt;bb<br>
last=&quot;true&quot;/&gt;&lt;/match2&gt;.getNodeOffset is deprecated. &nbsp;Use XPath<br>
`position()` operator instead.<br>
running async test for loaded data (datapointerServerless.lzx)<br>
|some Text|<br>
ERROR @datapointerServerless.lzx#14: &lt;data&gt;&lt;record a=&quot;1&quot;&gt;some Text&lt;/<br>
record&gt;&lt;record a=&quot;2&quot;&gt;&lt;a/&gt;&lt;b&gt;fdksjhf&lt;/b&gt;&lt;c/&gt;&lt;/record&gt;&lt;foo a=&quot;11&quot;&gt;some<br>
Text&lt;/foo&gt;&lt;match2&gt;&lt;aa/&gt;&lt;bb first=&quot;true&quot;/&gt;&lt;bb&gt;some&lt;/bb&gt;&lt;cc/&gt;&lt;/<br>
match2&gt;&lt;match2&gt;&lt;ee/&gt;&lt;ff/&gt;&lt;bb&gt;otherbb&lt;/bb&gt;&lt;bb last=&quot;true&quot;/&gt;&lt;/match2&gt;&lt;/<br>
data&gt; matched 2 nodes<br>
«ˇLzDataElement!#9| &lt;match2&gt;&lt;ee/&gt;&lt;ff/&gt;&lt;bb&gt;otherbb&lt;/bb&gt;&lt;bb last=&quot;true&quot;/<br>
&nbsp;&gt;&lt;/match2&gt;»<br>
INFO @datapointerServerless.lzx#14: &lt;match2&gt;&lt;ee/&gt;&lt;ff/&gt;&lt;bb&gt;otherbb&lt;/<br>
bb&gt;&lt;bb last=&quot;true&quot;/&gt;&lt;/match2&gt;.getNodeOffset is deprecated. &nbsp;Use XPath<br>
`position()` operator instead.<br>
INFO: setNodeName: p is null in Datapath for dataEventReporter &nbsp;name:<br>
etc1<br>
undefined<br>
ERROR: &lt;record&gt;first&lt;a foo=&quot;car&quot;/&gt;&lt;b/&gt;&lt;/record&gt; matched 4 nodes<br>
running async test for loaded data (namespace.lzx)<br>
type of dataset http<br>
dp «lz.datapointer#16| &lt;persons secret=&quot;secret.names&quot;<br>
foo=&quot;foo.bar&quot;&gt;&lt;person color=&quot;you blew it foo&quot; name=&quot;bret&quot;<br>
id=&quot;1&quot;&gt;&lt;firstName&gt;Dan&lt;/firstName&gt;&lt;lastName&gt;McGowan&lt;/<br>
lastName&gt;&lt;modifyDate&gt;3/25/05&lt;/modifyDate&gt;&lt;address code=&quot;ML&quot;<br>
id=&quot;1&quot;&gt;&lt;line1&gt;2210 North 184th Street&lt;/line1&gt;&lt;line2/...»<br>
dpns «lz.datapointer#17| &lt;persons xmlns:foo=&quot;foo.bar&quot;<br>
xmlns:secret=&quot;secret.names&quot;&gt;&lt;foo:person id=&quot;1&quot; name=&quot;jonny&quot;<br>
secret:name=&quot;bret&quot; secret:color=&quot;you blew it&quot; foo:color=&quot;you blew it<br>
foo&quot;&gt;&lt;firstName&gt;Dan&lt;/firstName&gt;&lt;lastName&gt;McGowan&lt;/<br>
lastName&gt;&lt;modifyDate&gt;3/25/05&lt;/modifyDate&gt;&lt;add...»<br>
localds «lz.dataset#18| &lt;localds&gt;&lt;persons secret=&quot;secret.names&quot;<br>
foo=&quot;foo.bar&quot;&gt;&lt;person color=&quot;you blew it foo&quot; name=&quot;bret&quot;<br>
id=&quot;1&quot;&gt;&lt;firstName&gt;Dan&lt;/firstName&gt;&lt;lastName&gt;McGowan&lt;/<br>
lastName&gt;&lt;modifyDate&gt;3/25/05&lt;/modifyDate&gt;&lt;address code=&quot;ML&quot;<br>
id=&quot;1&quot;&gt;&lt;line1&gt;2210 North 184th Street&lt;/line...»<br>
running async test for loaded data (namespace-solo.lzx)<br>
type of dataset http<br>
dpns «lz.datapointer#19| &lt;persons xmlns:foo=&quot;foo.bar&quot;<br>
xmlns:secret=&quot;secret.names&quot;&gt;&lt;foo:person id=&quot;1&quot; name=&quot;jonny&quot;<br>
secret:name=&quot;bret&quot; secret:color=&quot;you blew it&quot; foo:color=&quot;you blew it<br>
foo&quot;&gt;&lt;firstName&gt;Dan&lt;/firstName&gt;&lt;lastName&gt;McGowan&lt;/<br>
lastName&gt;&lt;modifyDate&gt;3/25/05&lt;/modifyDate&gt;&lt;add...»<br>
running async test for loaded data (whitespace.lzx)<br>
dpp «lz.datapointer#20| &lt;persons&gt;&lt;person id=&quot;2&quot;&gt;&lt;firstName&gt;Barry&lt;/<br>
firstName&gt;&lt;lastName&gt;Bonds&lt;/lastName&gt;&lt;modifyDate&gt;3/25/05&lt;/modifyDate&gt;&lt;/<br>
person&gt;&lt;person id=&quot;3&quot;&gt;&lt;firstName&gt;Jeff &amp;quot;The Jeffster&amp;quot;<br>
Rodger Morton Tanith&lt;/firstName&gt;&lt;lastName&gt;Beck&lt;/<br>
lastName&gt;&lt;modifyDate&gt;3/25/0...»<br>
dps «lz.datapointer#21| &lt;persons&gt;&lt;person id=&quot;2&quot;&gt;&lt;firstName&gt;Barry&lt;/<br>
firstName&gt;&lt;lastName&gt;Bonds&lt;/lastName&gt;&lt;modifyDate&gt;3/25/05&lt;/modifyDate&gt;&lt;/<br>
person&gt;&lt;person id=&quot;3&quot;&gt;&lt;firstName&gt;Jeff &amp;quot;The Jeffster&amp;quot;<br>
Rodger Morton Tanith&lt;/firstName&gt;&lt;lastName&gt;Beck&lt;/<br>
lastName&gt;&lt;modifyDate&gt;3/25/0...»<br>
running async test for loaded data (sendheaders.lzx)<br>
type of dataset http<br>
dp «lz.datapointer#22| &lt;data&gt;&lt;record a=&quot;1&quot;&gt; some Text &lt;/record&gt;&lt;record<br>
a=&quot;2&quot;&gt;&lt;a/&gt;&lt;b&gt; fdksjhf&lt;/b&gt;&lt;c/&gt;&lt;/record&gt;&lt;foo a=&quot;11&quot;&gt; some Text &lt;/<br>
foo&gt;&lt;match2&gt;&lt;aa/&gt;&lt;bb first=&quot;true&quot;/&gt;&lt;bb&gt; some &lt;/bb&gt;&lt;cc/&gt;&lt;/<br>
match2&gt;&lt;match2&gt;&lt;ee/&gt;&lt;ff/&gt;&lt;bb&gt; otherbb &lt;/bb&gt;&lt;bb last=&quot;true&quot;/&gt;&lt;/match2&gt;&lt;/<br>
data&gt;»<br>
this.dpready = &nbsp;true<br>
running testsetheaders test on loaded data<br>
/echo/headers/text()=<br>
<br>
 &nbsp; &nbsp; 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>
 &nbsp; &nbsp; 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>
 &nbsp; &nbsp; Header: accept-language : en-us,en;q=0.5<br>
 &nbsp; &nbsp; Header: accept-charset : ISO-8859-1,utf-8;q=0.7,*;q=0.7<br>
 &nbsp; &nbsp; Header: keep-alive : 300<br>
 &nbsp; &nbsp; Header: cookie : JSESSIONID=0F83C93E4937000E8FFF4218FF824937<br>
 &nbsp; &nbsp; Header: referer : <a href="http://localhost:8080/trunk-review/test/lfc/data/alldata.lzx?lzt=swf&amp;lzr=swf7" target="_blank">http://localhost:8080/trunk-review/test/lfc/data/alldata.lzx?lzt=swf&amp;lzr=swf7</a><br>



 &nbsp; &nbsp; Header: content-type : pink-elephants/xml<br>
 &nbsp; &nbsp; Header: host : localhost:8080<br>
 &nbsp; &nbsp; Header: content-length : 17<br>
running testsetheaders test on loaded data<br>
/echo/headers/text()=<br>
<br>
 &nbsp; &nbsp; Header: host : localhost:8080<br>
 &nbsp; &nbsp; 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>
 &nbsp; &nbsp; 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>
 &nbsp; &nbsp; Header: accept-language : en-us,en;q=0.5<br>
 &nbsp; &nbsp; Header: accept-encoding : gzip,deflate<br>
 &nbsp; &nbsp; Header: accept-charset : ISO-8859-1,utf-8;q=0.7,*;q=0.7<br>
 &nbsp; &nbsp; Header: keep-alive : 300<br>
 &nbsp; &nbsp; Header: connection : keep-alive<br>
 &nbsp; &nbsp; Header: cookie : JSESSIONID=0F83C93E4937000E8FFF4218FF824937<br>
 &nbsp; &nbsp; Header: referer : <a href="http://localhost:8080/trunk-review/test/lfc/data/alldata.lzx?lzt=swf&amp;lzr=swf7" target="_blank">http://localhost:8080/trunk-review/test/lfc/data/alldata.lzx?lzt=swf&amp;lzr=swf7</a><br>



 &nbsp; &nbsp; Header: content-type : pink-elephants/xml<br>
 &nbsp; &nbsp; Header: my-other-personal-header : milk chocolate with almonds<br>
 &nbsp; &nbsp; Header: my-personal-header : vanilla/with-chocolate-syrup<br>
 &nbsp; &nbsp; 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 &nbsp;name: dp »<br>
running async test for loaded data (testheaderresponse.lzx)<br>
hdrs= «lz.params#24| Server=Apache-Coyote/1.1&amp;Date=Wed, 13 Feb 2008<br>
15:35:46 GMT&amp;ETag=W/&quot;604-1193188782000&quot;»<br>
running async test for loaded data (testclientcachebreaker.lzx)<br>
«lz.datapointer#25| LzDatapointer &nbsp;name: dp »<br>
ERROR: False: &nbsp;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>