Skip to content
Snippets Groups Projects
Commit daf35892 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 c0a71291
No related branches found
No related tags found
1 merge request!37Service management utilities and support for GDK installations
......@@ -202,6 +202,11 @@
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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment