Version: 9.12.0
TestKiller Namespace Reference

Functions

def getCurrentPort ()
 
def closeSalome ()
 
def killNamingService ()
 
def killProcess (process_id)
 

Function Documentation

◆ closeSalome()

def TestKiller.closeSalome ( )

◆ getCurrentPort()

def TestKiller.getCurrentPort ( )

Referenced by closeSalome(), and killNamingService().

◆ killNamingService()

def TestKiller.killNamingService ( )
kills omniORB4 Naming Service on local machine.
Selects process corresponding to the port used in $OMNIORB_CONFIG file.
Works only with a single line $OMNIORB_CONFIG like
InitRef = NameService=corbaname::<hostname>:<port>

References getCurrentPort().

Referenced by killProcess().

◆ killProcess()

def TestKiller.killProcess (   process_id)
kills process on local machine, given a dictionary of running process
generated by runSalome.Server() class and derived, (method run).
kills also local Naming server.

References killNamingService().