Message4312
roundup's tests for PostgreSQL seem to require that the
'rounduptest' user has the 'CREATE' privilege:
$ ./run_tests.py
Running unit tests at level 1
Running unit tests from /home/toni/mnt/deb/roundup/roundup-1.4.17/.
/usr/lib/python2.6/dist-packages/pytz/__init__.py:32: UserWarning:
Module test was already imported from
+/home/toni/mnt/deb/roundup/roundup-1.4.17/./test/__init__.pyc, but
/usr/lib/pymodules/python2.6 is being added to sys.path
from pkg_resources import resource_stream
Including anydbm tests
Traceback (most recent call last):
File "./run_tests.py", line 886, in <module>
process_args()
File "./run_tests.py", line 876, in process_args
bad = main(module_filter, test_filter, libdir)
File "./run_tests.py", line 668, in main
runner(files, test_filter, debug)
File "./run_tests.py", line 586, in runner
s = get_suite(file)
File "./run_tests.py", line 511, in get_suite
return suite_func()
File
"/home/toni/mnt/deb/roundup/roundup-1.4.17/./test/test_indexer.py", line
195, in test_suite
postgresqlOpener.module.db_nuke(config, 1)
File
"/home/toni/mnt/deb/roundup/roundup-1.4.17/./roundup/backends/back_postgresql.py",
line 48, in db_nuke
db_command(config, command)
File
"/home/toni/mnt/deb/roundup/roundup-1.4.17/./roundup/backends/back_postgresql.py",
line 73, in db_command
raise RuntimeError('10 attempts to create database failed')
RuntimeError: 10 attempts to create database failed
It would be better if the test suite could make use of a pre-existing
database. |
|
Date |
User |
Action |
Args |
2011-05-30 10:16:10 | tonimueller | set | recipients:
+ tonimueller |
2011-05-30 10:16:10 | tonimueller | set | messageid: <1306750570.58.0.463864211227.issue2550705@psf.upfronthosting.co.za> |
2011-05-30 10:16:10 | tonimueller | link | issue2550705 messages |
2011-05-30 10:16:09 | tonimueller | create | |
|