Commit 9afae0ad authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Heptapod: providing `restart_rails()` in the base class

The only caller at the time being is its sibling method
`apply_hashed_storage_setting()`, that will hence become
available for all concrete subclasses that implement
`ctl_services()`.
parent c0a71291b3ac
......@@ -202,6 +202,11 @@ class Heptapod:
host=self.host, port=self.ssh_port)))
logger.info("All preparations done, proceeding with tests.")
def restart_rails(self):
logger.info("Restarting the Rails application.")
self.ctl_services(self.RAILS_SERVICES)
self.wait_startup()
def set_application_settings(self, **settings):
"""Change GitLab application settings and update :attr:`settings`."""
resp = requests.put(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment