TESTS: Restart SSSD after restoring config
This commit is contained in:
parent
7092e13518
commit
d3110ea7ef
1 changed files with 1 additions and 0 deletions
|
|
@ -254,6 +254,7 @@ class TestApplication(MachineCase):
|
||||||
m.download(conf_file, test_all_file)
|
m.download(conf_file, test_all_file)
|
||||||
# Revert to the previous config before testing to ensure test continuity
|
# Revert to the previous config before testing to ensure test continuity
|
||||||
m.upload([save_file], conf_file_path)
|
m.upload([save_file], conf_file_path)
|
||||||
|
m.execute("systemctl restart sssd")
|
||||||
# Check that the configs reflected the changes
|
# Check that the configs reflected the changes
|
||||||
conf = configparser.ConfigParser()
|
conf = configparser.ConfigParser()
|
||||||
conf.read_file(open(test_none_file, "r"))
|
conf.read_file(open(test_none_file, "r"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue