Opened 11 years ago

Last modified 11 years ago

#21234 closed Uncategorized

DATABASES['other']['TEST_NAME'] is ignored is some situations. — at Initial Version

Reported by: Vernon Cole Owned by: nobody
Component: Uncategorized Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Attempting to test django using the following settings fails with an infinite wait. It appears that 'TEST_NAME' is ignored, causing conflicting use of the (single) database.

I have determined that if DATABASESdefaultNAME != DATABASESotherNAME then 'TEST_NAME' works correctly.
---

DATABASES = {

'default': {

'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'adotest',
'USER': 'adotestuser',
'PASSWORD': '12345678',
'HOST': 'localhost',
'OPTIONS': {

'autocommit': True,
},

},

'other': {

'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'adotest',
'TEST_NAME': 'other_test',
'USER': 'adotestuser',
'PASSWORD': '12345678',
'HOST': 'localhost',
'OPTIONS': {

'autocommit': True,
},

}

}

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top