Commit d9a855f1 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Fix unittests broken by rev 2015

Ssconf files shouldn't be updated when running unittests.

Reviewed-by: ultrotter
parent d57ae7f7
......@@ -864,7 +864,8 @@ class ConfigWriter:
# Write ssconf files on all nodes (including locally)
if self._last_cluster_serial < self._config_data.cluster.serial_no:
rpc.RpcRunner.call_write_ssconf_files(self._UnlockedGetNodeList())
if not self._offline:
rpc.RpcRunner.call_write_ssconf_files(self._UnlockedGetNodeList())
self._last_cluster_serial = self._config_data.cluster.serial_no
@locking.ssynchronized(_config_lock)
......
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