#16411: Test failure after r16510
------------------------+-----------------------------------------------
     Reporter:  jezdez  |                    Owner:  nobody
         Type:  Bug     |                   Status:  new
    Milestone:          |                Component:  Core (Cache system)
      Version:  1.3     |                 Severity:  Normal
     Keywords:          |             Triage Stage:  Unreviewed
    Has patch:  0       |      Needs documentation:  0
  Needs tests:  0       |  Patch needs improvement:  0
Easy pickings:  0       |                    UI/UX:  0
------------------------+-----------------------------------------------
 http://ci.django-
 
cms.org/job/Django/database=postgres,python=python2.7/101/testReport/regressiontests.cache.tests/CreateCacheTableForDBCacheTests/test_createcachetable_observes_database_router/

 The postgres tests seem to fail after the addition. Ironically they pass
 for me but give a different message locally:

 {{{

 Traceback (most recent call last):
   File "runtests.py", line 332, in <module>
     failures = django_tests(int(options.verbosity), options.interactive,
 options.failfast, args)
   File "runtests.py", line 199, in django_tests
     failures = test_runner.run_tests(test_labels, extra_tests=extra_tests)
   File "/Users/jezdez/Code/git/django/django/test/simple.py", line 356, in
 run_tests
     self.teardown_databases(old_config)
   File "/Users/jezdez/Code/git/django/django/test/simple.py", line 322, in
 teardown_databases
     connection.creation.destroy_test_db(old_name, self.verbosity)
   File "/Users/jezdez/Code/git/django/django/db/backends/creation.py",
 line 331, in destroy_test_db
     self._destroy_test_db(test_database_name, verbosity)
   File "/Users/jezdez/Code/git/django/django/db/backends/creation.py",
 line 342, in _destroy_test_db
     cursor.execute("DROP DATABASE %s" %
 self.connection.ops.quote_name(test_database_name))
   File
 "/Users/jezdez/Code/git/django/django/db/backends/postgresql_psycopg2/base.py",
 line 44, in execute
     return self.cursor.execute(query, args)
 django.db.utils.DatabaseError: database "test_django_testing" is being
 accessed by other users
 DETAIL:  There are 1 other session(s) using the database.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16411>
Django <https://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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to