#14630: Oracle test tablespace disk datafile not big enough for running full
Django
test suite
----------------------------------------+-----------------------------------
Reporter: ramiro | Owner: nobody
Status: new | Milestone:
Component: Testing framework | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
----------------------------------------+-----------------------------------
Changes (by ramiro):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Old description:
> While setting up Oracle XE to test found that ic an run individual test
> or a subgroup of them. 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.
New description:
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.
--
Ticket URL: <http://code.djangoproject.com/ticket/14630#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.