increase interval for log_match in TestAdminSuspend.test_hook

Description

test failing intermittently due to following
2017-12-11 05:06:11,220 INFO mom x23-64-centos60 log match: searching for "list of maintenance_jobs are None" - No match
2017-12-11 05:06:11,747 INFO mom x23-64-centos60 log match: searching for "list of maintenance_jobs are None" - attempt 2
2017-12-11 05:06:12,275 INFO mom x23-64-centos60 log match: searching for "list of maintenance_jobs are None" - attempt 3
2017-12-11 05:06:12,802 INFO mom x23-64-centos60 log match: searching for "list of maintenance_jobs are None" - attempt 4
2017-12-11 05:06:13,329 INFO mom x23-64-centos60 log match: searching for "list of maintenance_jobs are None" - attempt 5

need to increase the timeout and add interval=1 in following

  1. wait for periodic hook and check mom_log
    time.sleep(5)
    self.mom.log_match(
    "list of maintenance_jobs are %s" % (jid2,), max_attempts=5)

Acceptance Criteria

None

Status

Assignee

Latha Subramanian

Reporter

anamika upadhyay

Severity

3-High

OS

None

Start Date

None

Pull Request URL

Story Points

1

Components

Fix versions

Priority

High
Configure