Refs #27690 -- Removed sleep before drop test db on Oracle.

This commit is contained in:
Mariusz Felisiak 2017-01-17 01:20:28 +01:00 committed by Tim Graham
parent 65e321b781
commit 7d2db2a7b8
1 changed files with 0 additions and 2 deletions

View File

@ -1,5 +1,4 @@
import sys
import time
from django.conf import settings
from django.db.backends.base.creation import BaseDatabaseCreation
@ -173,7 +172,6 @@ class DatabaseCreation(BaseDatabaseCreation):
self.connection.close()
parameters = self._get_test_db_params()
cursor = self._maindb_connection.cursor()
time.sleep(1) # To avoid "database is being accessed by other users" errors.
if self._test_user_create():
if verbosity >= 1:
print('Destroying test user...')