Kaydet (Commit) 7d2db2a7 authored tarafından Mariusz Felisiak's avatar Mariusz Felisiak Kaydeden (comit) Tim Graham

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

üst 65e321b7
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...')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment