﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
16411	Test failure after r16510	Jannis Leidel	nobody	"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.
}}}"	Bug	closed	Core (Cache system)	1.3	Normal	fixed		Aymeric Augustin	Unreviewed	0	0	0	0	0	0
