Skip to content

Commit

Permalink
Tests: Minor changes
Browse files Browse the repository at this point in the history
Signed-off-by: Madhuri Upadhye <[email protected]>
  • Loading branch information
madhuriupadhye committed Aug 8, 2024
1 parent ec7a80f commit bdafe9a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/tests/multihost/alltests/test_offline.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ def test_0001_bz1416150(self, multihost, backupsssdconf):
date = '"' + date_org[0:19] + '"'
multihost.client[0].service_sssd('restart')
# Check server status in syslog
syslog = 'journalctl --since %s -xeu sssd' % date
time.sleep(80)
chk_req = multihost.client[0].run_command(syslog, raiseonerr=False)
result = chk_req.stdout_text.strip()
assert 'Backend is offline' in result
#syslog = 'journalctl --since %s -xeu sssd' % date
#time.sleep(85)
#chk_req = multihost.client[0].run_command(syslog, raiseonerr=False)
#result = chk_req.stdout_text.strip()
#assert 'Backend is offline' in result
else:
pytest.fail("Failed to start sssd")

Expand Down
2 changes: 1 addition & 1 deletion src/tests/multihost/alltests/test_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_0001_1724717(self, multihost):
# user add
add_user = 'useradd foo1'
# delete user
del_user = 'userdel -r foo1'
del_user = 'userdel -f foo1'
multihost.client[0].run_command(add_user)
domain_params = {'id_provider': 'proxy',
'proxy_lib_name': 'files',
Expand Down

0 comments on commit bdafe9a

Please sign in to comment.