There are some transient failures sometimes when the tomcat server has just been restarted, because it takes a long time to compile the .jsp scripts that some of the tests use; if it goes past the 30 second default dataset timeout, it causes spurious timeouts. It might even be that if the initial compile takes too long, then the web server might timeout, I am not certain. But once the .jsp's are compiled, (and once the java compiler is swapped into tomcat core), then subsequent runs of the test return much quicker.
I think we need to have some master counter for the number of results returned or something, so that if the timeouts get bumped up, the person running the test gets a positive confirmation that all tests have either completed or timed out. On 9/20/07, J Crowley <[EMAIL PROTECTED]> wrote: > Change 20070920-jcrowley-8 by [EMAIL PROTECTED] on > 2007-09-20 21:06:57 EDT > in /Users/jcrowley/src/svn/openlaszlo/trunk-two > for http://svn.openlaszlo.org/openlaszlo/trunk > > Summary: Update data tests to include dataloaders, remove > <datasource>, and more > > New Features: > > Bugs Fixed: LPP-4677 - Update data tests to include dataloaders, > remove <datasource>, and more > > Technical Reviewer: henry > QA Reviewer: ben > Doc Reviewer: (pending) > > Documentation: > > Release Notes: > > Details: This provides fixes for existing tests > and adds a couple other tests for new > dataprovider components. I'm working > on more tests for these, but this is > what I have so far. > > You *might* get an error or failure with > clientcachebreaker, but it doesn't fail > consistently. I believe this is due to > the nature of the test. I think it fails > for me maybe once out of every five runs. > > There were no tests of datasource that > I could find. (It was mentioned but > never instantiated anywhere.) So that > part of the bug is kind of N/A. > > More extensive tests hopefully > forthcoming. I'll file a separate bug > for extending the testing. > > Tests: Run all tests in test/lfc/data/ > > Files: > M test/lfc/data/testdataheaders.lzx > M test/lfc/data/dollarpathquote.lzx > M test/lfc/data/testhttpdata.lzx > M test/lfc/data/testdatapointer.lzx > A test/lfc/data/dataprovider-multirequest.lzx > M test/lfc/data/stringxml.lzx > A test/lfc/data/multirequest.jsp > M test/lfc/data/nonpoolingoptimization.lzx > A test/lfc/data/dataprovider-datacheck.lzx > > Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070920- > jcrowley-8.tar > -- Henry Minsky Software Architect [EMAIL PROTECTED]
