From 304f62b87154cef9b992250c33e03c268d5d5379 Mon Sep 17 00:00:00 2001
From: "Gao,Yan" <ygao@suse.com>
Date: Mon, 9 May 2022 13:46:17 +0200
Subject: [PATCH 5/9] Test: cts-scheduler: fix on_node attribute of lrm_rsc_op
 entries in the tests

---
 cts/pengine/clone-require-all-6.xml               | 2 +-
 cts/pengine/migration-behind-migrating-remote.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cts/pengine/clone-require-all-6.xml b/cts/pengine/clone-require-all-6.xml
index d7fb6102b..9a2a99697 100644
--- a/cts/pengine/clone-require-all-6.xml
+++ b/cts/pengine/clone-require-all-6.xml
@@ -115,7 +115,7 @@
           </lrm_resource>
           <lrm_resource id="A" type="Dummy" class="ocf" provider="heartbeat">
             <lrm_rsc_op id="A_last_0" operation_key="A_start_0" operation="start" crm-debug-origin="crm_simulate" crm_feature_set="3.0.9" transition-key="20:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:0;20:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="20" rc-code="0" op-status="0" interval="0" last-run="1420580294" last-rc-change="1420580294" exec-time="0" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" on_node="rhel7-auto3"/>
-            <lrm_rsc_op id="A_monitor_10000" operation_key="A_monitor_10000" operation="monitor" crm-debug-origin="crm_simulate" crm_feature_set="3.0.9" transition-key="21:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:0;21:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="21" rc-code="0" op-status="0" interval="10000" last-rc-change="1420580294" exec-time="0" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd"/>
+            <lrm_rsc_op id="A_monitor_10000" operation_key="A_monitor_10000" operation="monitor" crm-debug-origin="crm_simulate" crm_feature_set="3.0.9" transition-key="21:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:0;21:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="21" rc-code="0" op-status="0" interval="10000" last-rc-change="1420580294" exec-time="0" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd" on_node="rhel7-auto3"/>
           </lrm_resource>
           <lrm_resource id="B" type="Dummy" class="ocf" provider="heartbeat">
             <lrm_rsc_op id="B_last_0" operation_key="B_start_0" operation="start" crm-debug-origin="crm_simulate" crm_feature_set="3.0.9" transition-key="22:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:0;22:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="22" rc-code="0" op-status="0" interval="0" last-run="1420580294" last-rc-change="1420580294" exec-time="0" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" on_node="rhel7-auto3" op-force-restart=" state " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
diff --git a/cts/pengine/migration-behind-migrating-remote.xml b/cts/pengine/migration-behind-migrating-remote.xml
index f7859f25a..a6fe40038 100644
--- a/cts/pengine/migration-behind-migrating-remote.xml
+++ b/cts/pengine/migration-behind-migrating-remote.xml
@@ -88,7 +88,7 @@
           </lrm_resource>
           <lrm_resource id="remote2" type="remote" class="ocf" provider="pacemaker">
             <lrm_rsc_op id="remote2_last_0" operation_key="remote2_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.14" transition-key="6:29:0:231989e8-bacb-4b30-ad73-d034cf9fd2ed" transition-magic="0:0;6:29:0:231989e8-bacb-4b30-ad73-d034cf9fd2ed" on_node="node2" call-id="18" rc-code="0" op-status="0" interval="0" last-run="1503335525" last-rc-change="1503335525" exec-time="0" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" ra-version="0.1" op-force-restart=" reconnect_interval  port " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
-            <lrm_rsc_op id="remote2_monitor_60000" operation_key="remote2_monitor_60000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.14" transition-key="19:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:0;19:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" on_node="node1" call-id="19" rc-code="0" op-status="0" interval="60000" last-rc-change="1503335516" exec-time="0" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd" ra-version="0.1"/>
+            <lrm_rsc_op id="remote2_monitor_60000" operation_key="remote2_monitor_60000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.14" transition-key="19:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:0;19:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" on_node="node2" call-id="19" rc-code="0" op-status="0" interval="60000" last-rc-change="1503335516" exec-time="0" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd" ra-version="0.1"/>
           </lrm_resource>
         </lrm_resources>
       </lrm>
-- 
2.35.3

