Replace 'Run Keyword Unless'
[integration/test.git] / csit / suites / controller / singleton_service / global_rpc_kill.robot
index ae83baba471d904321c245787cc81f55fb01d0a9..04f83b43cfa6901f8223fde87320b15dd9f105ea 100644 (file)
@@ -1,8 +1,8 @@
 *** Settings ***
 Documentation     Controller functional HA testing of global singleton rpcs.
-...           
+...
 ...               Copyright (c) 2017 Cisco Systems, Inc. and others. All rights reserved.
-...           
+...
 ...               This program and the accompanying materials are made available under the
 ...               terms of the Eclipse Public License v1.0 which accompanies this distribution,
 ...               and is available at http://www.eclipse.org/legal/epl-v10.html
@@ -104,7 +104,7 @@ Verify_Owner_Elected
     [Documentation]    Verify new owner was elected or remained the same.
     ${owner}    ${successors}=    Get_Present_Brt_Owner_And_Successors    ${node_to_ask}
     BuiltIn.Run_Keyword_If    ${new_elected}    BuiltIn.Should_Not_Be_Equal_As_Numbers    ${old_owner}    ${owner}
-    BuiltIn.Run_Keyword_Unless    ${new_elected}    BuiltIn.Should_Be_Equal_As_numbers    ${old_owner}    ${owner}
+    BuiltIn.Run_Keyword_If    not ${new_elected}    BuiltIn.Should_Be_Equal_As_numbers    ${old_owner}    ${owner}
 
 Get_Present_Brt_Owner_And_Successors
     [Arguments]    ${node_to_ask}    ${store}=${False}