Bug 682345

Summary: Test suite assumes all ethernet devices are named ethX
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: heartbeatAssignee: Kevin Fenzi <kevin>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: andrew, kevin, lhh, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-10 16:14:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 682334    

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.