Need to make tearDown method detect if any servers exist before trying to work on them
Bug #938151 reported by
Patrick Crews
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kewpie |
New
|
Undecided
|
Patrick Crews |
Bug Description
20120222-033944 Traceback (most recent call last):
20120222-033944 File "/root/
20120222-033944 for server in self.servers:
20120222-033944 TypeError: 'NoneType' object is not iterable
If a test should fail before it's servers are created / etc, the mysqlBaseTestCase's tearDown method will try to DROP/CREATE test databases for all servers. we should have a check to ensure we have servers before trying to shut them down.
Related branches
lp://staging/~patrick-crews/kewpie/bug938151
- Patrick Crews: Pending requested
- Diff: 0 lines
Changed in kewpie: | |
assignee: | nobody → Patrick Crews (patrick-crews) |
To post a comment you must log in.