16007: Update group-sync tool for new restrictions on roles
[arvados.git] / tools / sync-groups / sync-groups_test.go
index 9eec6b6d97aa3d1305f55f8d02e8d551e37ddc07..2da8c1cdde4bb2cf131e9afcd520eec7f4e5ed47 100644 (file)
@@ -170,7 +170,7 @@ func RemoteGroupExists(cfg *ConfigParams, groupName string) (uuid string, err er
                }, {
                        Attr:     "owner_uuid",
                        Operator: "=",
-                       Operand:  cfg.ParentGroupUUID,
+                       Operand:  cfg.SysUserUUID,
                }, {
                        Attr:     "group_class",
                        Operator: "=",