Thread: [Quickfix-developers] Unit test C++ quickfix 1.9.2 with MySQL on Linux
Brought to you by:
orenmnero
From: Hans B. <han...@ma...> - 2004-09-16 08:56:45
|
The first unit and acceptance tests were all (C++ and Java) without failures, but now I've configured with mysql: ./configure --with-mysql=/opt/mysql --enable-callstack and I got this output from the 'test/runut' unit test: <ut> <output> ................................................................................ ...............FFFF............................................. </output> <results total="144" failures="4"> <failure line= "0" file= "unknown"> <test> <![CDATA[ PN7CPPTest4TestIN3FIX12MessageStoreEEE]]> </test> <text> <![CDATA[ assert(no futher information available)]]> </text> </failure> <failure line= "0" file= "unknown"> <test> <![CDATA[ PN7CPPTest4TestIN3FIX12MessageStoreEEE]]> </test> <text> <![CDATA[ assert(no futher information available)]]> </text> </failure> <failure line= "0" file= "unknown"> <test> <![CDATA[ PN7CPPTest4TestIN3FIX12MessageStoreEEE]]> </test> <text> <![CDATA[ assert(no futher information available)]]> </text> </failure> <failure line= "0" file= "unknown"> <test> <![CDATA[ PN7CPPTest4TestIN3FIX12MessageStoreEEE]]> </test> <text> <![CDATA[ assert(no futher information available)]]> </text> </failure> </results> </ut> What failed here: the test or the application? 'test/runat' and both Java unit and acceptance tests had no failures. Hans Bausewein |
From: Oren M. <or...@qu...> - 2004-09-16 11:15:33
|
Hans, Did you build the quickfix/src/sql/crate_mysql.sh script? --oren On Sep 16, 2004, at 3:56 AM, Hans Bausewein wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: > http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ > QuickFIX Support: http://www.quickfixengine.org/services.html > > The first unit and acceptance tests were all (C++ and Java) without > failures, but now I've configured with mysql: > > ./configure --with-mysql=/opt/mysql --enable-callstack > > and I got this output from the 'test/runut' unit test: > > <ut> > <output> > ....................................................................... > ......... > ...............FFFF............................................. > </output> > <results total="144" failures="4"> > <failure line= "0" file= "unknown"> > <test> > <![CDATA[ PN7CPPTest4TestIN3FIX12MessageStoreEEE]]> > </test> > <text> > <![CDATA[ assert(no futher information available)]]> > </text> > </failure> > <failure line= "0" file= "unknown"> > <test> > <![CDATA[ PN7CPPTest4TestIN3FIX12MessageStoreEEE]]> > </test> > <text> > <![CDATA[ assert(no futher information available)]]> > </text> > </failure> > <failure line= "0" file= "unknown"> > <test> > <![CDATA[ PN7CPPTest4TestIN3FIX12MessageStoreEEE]]> > </test> > <text> > <![CDATA[ assert(no futher information available)]]> > </text> > </failure> > <failure line= "0" file= "unknown"> > <test> > <![CDATA[ PN7CPPTest4TestIN3FIX12MessageStoreEEE]]> > </test> > <text> > <![CDATA[ assert(no futher information available)]]> > </text> > </failure> > </results> > </ut> > > What failed here: the test or the application? > > 'test/runat' and both Java unit and acceptance tests had no failures. > > > Hans Bausewein > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
From: Hans B. <han...@ma...> - 2004-09-16 11:27:19
|
On Thu, 2004-09-16 at 13:15, Oren Miller wrote: > Hans, > > Did you build the quickfix/src/sql/crate_mysql.sh script? I did, but for the 1.9.0 version. I'll delete the database and create it again. Hans |
From: Hans B. <han...@ma...> - 2004-09-16 12:29:22
|
On Thu, 2004-09-16 at 13:15, Oren Miller wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hans, > > Did you build the quickfix/src/sql/crate_mysql.sh script? I've deleted the quickfix database and created a new one with the script (from this version 1.9.2), but I still get the same output from the unit test. I've also run the test as 'root' with the same result. Hans |
From: Oren M. <or...@qu...> - 2004-09-16 18:46:26
|
I'm not seeing this behavior. What happens when you try to load up a QuickFIX application that uses MySQL? --oren On Sep 16, 2004, at 7:29 AM, Hans Bausewein wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: > http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ > QuickFIX Support: http://www.quickfixengine.org/services.html > > On Thu, 2004-09-16 at 13:15, Oren Miller wrote: >> QuickFIX Documentation: >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX FAQ: >> http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> Hans, >> >> Did you build the quickfix/src/sql/crate_mysql.sh script? > > I've deleted the quickfix database and created a new one with the > script > (from this version 1.9.2), but I still get the same output from the > unit > test. > > I've also run the test as 'root' with the same result. > > Hans > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
From: Hans B. <han...@ma...> - 2004-09-17 15:58:08
|
On Thu, 2004-09-16 at 13:15, Oren Miller wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hans, > > Did you build the quickfix/src/sql/crate_mysql.sh script? The problem is caused by failing database access. I can run quickfix 1.9.2 on our Solaris 8 server with MySQL support. I've also installed a MySQL server (version 3.23.53) on this machine. If I stop the MySQL server, I get the error output from 'test/runut': [hans@test2 test]$ ./runut 10005 <ut> <output> .................................................................... ...........................FFFF............................................. </output> <results total="144" failures="4"> <failure line= "0" file= "unknown"> <test> <![CDATA[ PN7CPPTest4TestIN3FIX12MessageStoreEEE]]> </test> <text> <![CDATA[ assert(no futher information available)]]> </text> </failure> ............... When I start the server and run the script again, it shows no errors: [hans@test2 test]$ ./runut 10005 <ut> <output> ................................................................................................................................................ </output> <results total="144" failures="0"> </results> </ut> [hans@test2 test]$ uname -a SunOS test2 5.8 Generic_108528-12 sun4u sparc SUNW,UltraAX-i2 Hans |