Bug 682345 - Test suite assumes all ethernet devices are named ethX
Summary: Test suite assumes all ethernet devices are named ethX
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: heartbeat
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 682334
TreeView+ depends on / blocked
 
Reported: 2011-03-04 21:38 UTC by Bill Nottingham
Modified: 2014-03-17 03:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-10 16:14:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bill Nottingham 2011-03-04 21:38:10 UTC
Description of problem:

Heartbeat-3-0-STABLE-3.0.4/cts/CTStests.py.in:

    def PathCount(self):
        '''Return number of communication paths'''
        Path = self.CM.InternalCommConfig()
        cf = self.CM.cf
        eths = []
        serials = []
        num = 0
        for interface in Path["interface"]:
            if re.search("eth",interface):
                eths.append(interface)
                num = num + 1
            if re.search("/dev",interface):
                serials.append(interface)
                num = num + 1

        return (num, eths, serials)

Version-Release number of selected component (if applicable):

heartbeat-3.0.4

How reproducible:

Via code inspection

Comment 1 Andrew Beekhof 2011-03-10 07:53:49 UTC
Hey Bill,

Pretty safe to ignore this, the RedundantPath test is actually disabled on line 1456.
I don't think anyone uses the entire test suite anymore either.

-- Andrew

Comment 2 Bill Nottingham 2011-03-10 15:31:56 UTC
OK then! Feel free to close.


Note You need to log in before you can comment on or make changes to this bug.