Fix unittests broken by revision 1727
authorMichael Hanselmann <hansmi@google.com>
Wed, 1 Oct 2008 09:24:18 +0000 (09:24 +0000)
committerMichael Hanselmann <hansmi@google.com>
Wed, 1 Oct 2008 09:24:18 +0000 (09:24 +0000)
Reviewed-by: iustinp

test/ganeti.config_unittest.py

index 36188fa..30261d6 100755 (executable)
@@ -76,7 +76,8 @@ class TestConfigRunner(unittest.TestCase):
 
     master_node_config = objects.Node(name=me.name,
                                       primary_ip=me.ip,
-                                      secondary_ip=ip)
+                                      secondary_ip=ip,
+                                      serial_no=1)
 
     cfg.InitConfig(constants.CONFIG_VERSION,
                    cluster_config, master_node_config)