Closed Bug 811016 Opened 13 years ago Closed 13 years ago

inconsistent signature for TerminateAllProcesses

Categories

(Testing :: Talos, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 809276

People

(Reporter: k0scist, Unassigned)

Details

(talos)│grep 'TerminateAllProcesses' talos/*.py talos/ffprocess_linux.py: def TerminateAllProcesses(self, timeout, process_names): talos/ffprocess_mac.py: def TerminateAllProcesses(self, timeout, process_names): talos/ffprocess.py: terminate_result = self.TerminateAllProcesses(browser_wait, *processes_to_kill) talos/ffprocess_remote.py: def TerminateAllProcesses(self, timeout, *process_names): talos/ffprocess_win32.py: def TerminateAllProcesses(self, timeout, process_names): Note that ffprocess_remote.py uses *process_names while the others just use process_names. This was introduced in http://hg.mozilla.org/build/talos/rev/3d6510e7c2dd It would be nice if someone found the time to note these methods in the ABC in ffprocess.py and e.g. `raise NotImplementedError("Abstract method")`
I'll probably take this along with https://bugzilla.mozilla.org/show_bug.cgi?id=809276 . I'm inclined to make everything use *args vs args. :jmaher, have any opposition?
I'm also inclined to combine the ffprocess_linux and ffprocess_mac methods though probably not in this bug
whatever we do we need to do it fast as talos is broken.
taken with fix for bug 809276
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.