@ -208,4 +208,4 @@ class ProfileFile:
|
|||||||
input : username
|
input : username
|
||||||
output : NA
|
output : NA
|
||||||
"""
|
"""
|
||||||
return ClusterConstants.HOME_USER_BASHRC % username
|
return os.path.join(os.path.expanduser(f"~{username}"), ".bashrc")
|
||||||
@ -215,7 +215,7 @@ class OMCommand():
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def wait_for_normal(logger, user, timeout=300, delta=5):
|
def wait_for_normal(logger, user, timeout=300, delta=5):
|
||||||
|
|
||||||
status_file = "/home/%s/gauss_check_status_%d.dat" % (user, os.getpid())
|
status_file = os.path.join(os.path.expanduser(f"~{user}"), "gauss_check_status_%d.dat" % os.getpid())
|
||||||
|
|
||||||
try:
|
try:
|
||||||
logger.debug("Waiting for cluster status being satisfied.")
|
logger.debug("Waiting for cluster status being satisfied.")
|
||||||
|
|||||||
Reference in New Issue
Block a user