fixes
[tests.git] / system / TestPlc.py
index b92f048..4e9a99b 100644 (file)
@@ -441,7 +441,7 @@ class TestPlc:
         for (nodegroupname,group_nodes) in groups_dict.iteritems():
             print 'nodegroups:','dealing with nodegroup',nodegroupname,'on nodes',group_nodes
             # first, check if the nodetagtype is here
-            tag_types = self.apiserver.GetNodeTagTypes(auth,{'tagname':nodegroupname})
+            tag_types = self.apiserver.GetTagTypes(auth,{'tagname':nodegroupname})
             if tag_types:
                 tag_type_id = tag_types[0]['node_tag_type_id']
             else:
@@ -688,10 +688,10 @@ class TestPlc:
         location = "/usr/share/plc_api/plcsh-stress-test.py"
         remote="/vservers/%s/%s"%(self.vservername,location)
         self.test_ssh.copy_abs("plcsh-stress-test.py",remote)
+        command = location
+        command += " -- --check"
         if self.options.small_test:
-            command=location + " -- --tiny"
-        else:
-            command=location
+            command +=  " --tiny"
         return ( self.run_in_guest(command) == 0)
 
     def gather_logs (self):