From afdea1b2e043956a8aa8c17bbcb7997017e24cb4 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 4 Feb 2009 08:27:54 +0000 Subject: [PATCH] caused tests to fail --- system/plcsh_stress_test.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/system/plcsh_stress_test.py b/system/plcsh_stress_test.py index 5f696d9..6ee4cb0 100755 --- a/system/plcsh_stress_test.py +++ b/system/plcsh_stress_test.py @@ -1084,8 +1084,7 @@ class Test: raise Exception, "Unexpected field %s in node after GetNodes()"%field assert set(nodegroup_ids) == set(node['nodegroup_ids']) - print 'WARNING: skipping updatenode with tags as this is not implemented yet' - # again when fetching 'arch' explicitly + # again but we are now fetching 'arch' explicitly node2 = self.api.GetNodes([node_id],node_fields.keys())[0] for field in node_fields: if node2[field] != node_fields[field]: @@ -1175,7 +1174,7 @@ class Test: type = random.sample(network_types, 1)[0] # Update interface - interface_fields = random_interface(method, type) + interface_fields = random_interface(method, type,self.namelengths) self.api.UpdateInterface(interface_id, interface_fields) if self.check: -- 2.43.0