Opened 15 years ago
Last modified 15 years ago
#14630 closed
Oracle test tablespace disk datafile not big enough for running full Django test suite — at Version 1
| Reported by: | Ramiro Morales | Owned by: | nobody | 
|---|---|---|---|
| Component: | Testing framework | Version: | dev | 
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description (last modified by )
While setting up Oracle XE to run the Django tests I found that individual tests or a small subgroup of them can be run without major problems. But while trying to run the entire suite this error happens:
Creating test database 'default'...
Creating test user...
Traceback (most recent call last):
  File "./runtests.py", line 314, in <module>
    failures = django_tests(int(options.verbosity), options.interactive, options.failfast, args)
  File "./runtests.py", line 183, in django_tests
    failures = test_runner.run_tests(test_labels, extra_tests=extra_tests)
  File "django/upstream/django/test/simple.py", line 276, in run_tests
    old_config = self.setup_databases()
  File "django/upstream/django/test/simple.py", line 232, in setup_databases
    connection.creation.create_test_db(self.verbosity, autoclobber=not self.interactive)
  File "django/upstream/django/db/backends/creation.py", line 357, in create_test_db
    call_command('syncdb', verbosity=max(verbosity - 1, 0), interactive=False, database=self.connection.alias)
  File "django/upstream/django/core/management/__init__.py", line 166, in call_command
    return klass.execute(*args, **defaults)
  File "django/upstream/django/core/management/base.py", line 220, in execute
    output = self.handle(*args, **options)
  File "django/upstream/django/core/management/base.py", line 351, in handle
    return self.handle_noargs(**options)
  File "django/upstream/django/core/management/commands/syncdb.py", line 97, in handle_noargs
    cursor.execute(statement)
  File "django/upstream/django/db/backends/oracle/base.py", line 522, in execute
    return self.cursor.execute(query, self._param_generator(params))
django.db.utils.DatabaseError: ORA-01658: unable to create INITIAL extent for segment in tablespace TEST_XE
The TEST_XE tablespace left shows when seen through the Oracle XE Web administrative interface the Django test suite currently needs 140/150 MB of space.
Change History (2)
comment:1 by , 15 years ago
| Description: | modified (diff) | 
|---|
by , 15 years ago
| Attachment: | 14630.diff added | 
|---|
  Note:
 See   TracTickets
 for help on using tickets.