Actions
Issue #1797
closedunit.server.db.test_model fails when run in isolation
Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
If I run the model tests by themselves, they experience at least one failure. When run together with other Pulp tests, they pass.
$ nosetests -sx server/test/unit/server/db/test_model.py
.....................................................E
======================================================================
ERROR: test_clean_orphans (unit.server.db.test_model.TestFileContentUnit)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/fedora/.virtualenvs/pulp/lib/python2.7/site-packages/mock.py", line 1201, in patched
return func(*args, **keywargs)
File "/home/fedora/devel/pulp/server/test/unit/server/db/test_model.py", line 563, in test_clean_orphans
unit.clean_orphans()
File "/home/fedora/devel/pulp/server/pulp/server/db/model/__init__.py", line 908, in clean_orphans
orphan_manger = factory.content_orphan_manager()
File "/home/fedora/devel/pulp/server/pulp/server/managers/factory.py", line 198, in content_orphan_manager
return get_manager(TYPE_CONTENT_ORPHAN)
File "/home/fedora/devel/pulp/server/pulp/server/managers/factory.py", line 440, in get_manager
raise InvalidType(type_key)
InvalidType: Invalid manager type requested [content-orphan-manager]
----------------------------------------------------------------------
Ran 54 tests in 0.697s
FAILED (errors=1)
Updated by rbarlow almost 8 years ago
- Subject changed from unit.server.db.test_model fails when run is isolation to unit.server.db.test_model fails when run in isolation
Updated by bmbouter almost 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by bmbouter almost 5 years ago
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.
Actions