Browse Source

Merge pull request #5697 from jakesmith/hpcc-11229

HPCC-11229 - Fix testLocalCluster dfu check

Reviewed-By: Attila Vamos <attila.vamos@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 11 năm trước cách đây
mục cha
commit
c0b9ffa9e1
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      dali/dfu/dfurun.cpp

+ 3 - 1
dali/dfu/dfurun.cpp

@@ -387,7 +387,9 @@ class CDFUengine: public CInterface, implements IDFUengine
         Owned<IPropertyTreeIterator> clusters;
         clusters.setown(root->getElements("ThorCluster"));
         ForEach(*clusters) {
-            if (strcmp(clusters->query().queryProp("@name"),groupname)==0)
+            StringBuffer thorClusterGroupName;
+            getClusterGroupName(clusters->query(), thorClusterGroupName);
+            if (strcmp(thorClusterGroupName.str(),groupname)==0)
                 return true;
         }
         clusters.setown(root->getElements("RoxieCluster"));