On Nov 30, 2007 12:17 PM, Niels Nes
On Fri, Nov 30, 2007 at 12:37:28AM -0700, m h wrote:
On Nov 30, 2007 12:25 AM, Niels Nes
wrote: On Thu, Nov 29, 2007 at 05:43:44PM -0700, m h wrote:
What can I do to help this situation? Run with valgrind? Explain howto run the SQLAlchemy test suite? I guess that would help most.
I'm off to bed now, but hopefully this will get you started.
*pull the svn of SQLAlchemy and don't install, but just unzip
My code is attached to this bug: http://www.sqlalchemy.org/trac/ticket/874
put the monetdb.py in the sqlalchemy/lib/sqlalchemy/databases/ directory.
add 'dialect.monetdb', to modules_to_test in sqlalchemy/test/dialect/alltests.py
I have a script that runs the test, here it is:
#!/bin/sh
pushd sqlalchemy PYTHONPATH=./lib:./test; python -tt test/sql/alltests.py --db monetdb --verbose --log-debug=sqlalchemy.engine #PYTHONPATH=./lib:./test; python -t test/orm/alltests.py --db monetdb --verbose --log-debug=sqlalchemy.engine popd
#end script
Uncomment the test/orm/alltests.py to crash the server. Repeatedly I my fresh check out of alchemy it isn't commented. I didn't see crashes. I did have restart problems which are now fixed.
I meant uncomment the line in my script above: #PYTHONPATH=./lib:./test; python -t test/orm/alltests.py --db monetdb --verbose --log-debug=sqlalchemy.engine