#8762: regressiontests/comment_tests fail with postgreSQL (and likely other
transactional backends)
--------------------------------------------------------------+-------------
 Reporter:  Richard Davies <[EMAIL PROTECTED]>  |       Owner:  nobody    
   Status:  new                                               |   Milestone:  
1.0       
Component:  django.contrib.comments                           |     Version:  
SVN       
 Keywords:                                                    |       Stage:  
Unreviewed
Has_patch:  0                                                 |  
--------------------------------------------------------------+-------------
 A clean checkout of r8798 (current head) fails the comments_test
 regression test when run against postgresql (but not against sqlite):

 {{{
 $ ./runtests.py --settings=SETT_sqlite comment_tests
 ----------------------------------------------------------------------
 Ran 64 tests in 4.348s

 OK
 }}}

 vs.

 {{{
 $ ./runtests.py --settings=SETT_postgresql_psycopg2 comment_tests
 Error: Database test_test couldn't be flushed. Possible reasons:
       * The database isn't running or isn't configured correctly.
       * At least one of the expected database tables doesn't exist.
       * The SQL was invalid.
     Hint: Look at the output of 'django-admin.py sqlflush'. That's the SQL
 this command wasn't able to run.
     The full error: current transaction is aborted, commands ignored until
 end of transaction block
 }}}

 I'm confident this isn't simply database misconfiguration, since other
 tests do work with postgreSQL.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8762>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to