From: Peter Gubka Date: Wed, 17 May 2017 10:51:57 +0000 (+0200) Subject: Add restart tests for remaining ddb suites X-Git-Tag: release/carbon~47 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=commitdiff_plain;h=cb614c5362b9a8002dff4098208a67ff168fdd7f;ds=sidebyside Add restart tests for remaining ddb suites Change-Id: I6f60a2c3cf3e3e769d5fa0ab364062851a403a1f Signed-off-by: Peter Gubka --- diff --git a/csit/suites/controller/dom_data_broker/clean_leader_shutdown.robot b/csit/suites/controller/dom_data_broker/clean_leader_shutdown.robot index f949ae1e53..1100a04c90 100644 --- a/csit/suites/controller/dom_data_broker/clean_leader_shutdown.robot +++ b/csit/suites/controller/dom_data_broker/clean_leader_shutdown.robot @@ -26,6 +26,11 @@ Local_Leader_Shutdown [Documentation] Shutdown the leader on the same node as transaction producer. local +Restart + [Documentation] Restart odl + [Template] + DdbCommons.Restart_Test_Templ + Remote_Leader_Shutdown [Documentation] Shutdown the leader on different node as transaction producer. remote diff --git a/csit/suites/controller/dom_data_broker/clean_leader_shutdown_prefbasedshard.robot b/csit/suites/controller/dom_data_broker/clean_leader_shutdown_prefbasedshard.robot index 251ff7bbdf..276522565b 100644 --- a/csit/suites/controller/dom_data_broker/clean_leader_shutdown_prefbasedshard.robot +++ b/csit/suites/controller/dom_data_broker/clean_leader_shutdown_prefbasedshard.robot @@ -28,6 +28,11 @@ Local_Leader_Shutdown [Documentation] Shutdown the leader on the same node as transaction producer. local +Restart + [Documentation] Restart odl + [Template] + DdbCommons.Restart_Test_Templ + Remote_Leader_Shutdown [Documentation] Shutdown the leader on different node as transaction producer. remote diff --git a/csit/suites/controller/dom_data_broker/explicit_leader_movement.robot b/csit/suites/controller/dom_data_broker/explicit_leader_movement.robot index 0e900b3be4..4ee28f6f99 100644 --- a/csit/suites/controller/dom_data_broker/explicit_leader_movement.robot +++ b/csit/suites/controller/dom_data_broker/explicit_leader_movement.robot @@ -26,10 +26,20 @@ Local_To_Remote_Movement [Documentation] Leader moves from local to remote node during transaction producing. local remote +Restart1 + [Documentation] Restart odl + [Template] + DdbCommons.Restart_Test_Templ + Remote_To_Remote_Movement [Documentation] Leader moves from one remote to other remote node during transaction producing. remote remote +Restart2 + [Documentation] Restart odl + [Template] + DdbCommons.Restart_Test_Templ + Remote_To_Local_Movement [Documentation] Leader moves from remote to local node during transaction producing. remote local diff --git a/csit/suites/controller/dom_data_broker/explicit_leader_movement_prefbasedshard.robot b/csit/suites/controller/dom_data_broker/explicit_leader_movement_prefbasedshard.robot index 8745215f8a..0adbfd77ad 100644 --- a/csit/suites/controller/dom_data_broker/explicit_leader_movement_prefbasedshard.robot +++ b/csit/suites/controller/dom_data_broker/explicit_leader_movement_prefbasedshard.robot @@ -28,10 +28,20 @@ Local_To_Remote_Movement [Documentation] Leader moves from local to remote node during transaction producing. local remote +Restart1 + [Documentation] Restart odl + [Template] + DdbCommons.Restart_Test_Templ + Remote_To_Remote_Movement [Documentation] Leader moves from one remote to other remote node during transaction producing. remote remote +Restart2 + [Documentation] Restart odl + [Template] + DdbCommons.Restart_Test_Templ + Remote_To_Local_Movement [Documentation] Leader moves from remote to local node during transaction producing. remote local diff --git a/csit/suites/controller/dom_data_broker/leader_isolation.robot b/csit/suites/controller/dom_data_broker/leader_isolation.robot index 510362cd45..34ac42c02f 100644 --- a/csit/suites/controller/dom_data_broker/leader_isolation.robot +++ b/csit/suites/controller/dom_data_broker/leader_isolation.robot @@ -25,6 +25,11 @@ Healing_Within_Transaction_Timeout ... and within transaction timeout. ${HEAL_WITHIN_TRANS_TIMEOUT} +Restart + [Documentation] Restart odl + [Template] + DdbCommons.Restart_Test_Templ + Healing_After_2x_Transaction_Timeout [Documentation] The isolated node (leader) is rejoined after 2x transaction timeout. ${${TRANSACTION_TIMEOUT_2X}+1} diff --git a/csit/suites/controller/dom_data_broker/leader_isolation_prefbasedshard.robot b/csit/suites/controller/dom_data_broker/leader_isolation_prefbasedshard.robot index 0108e841cf..6d0fd445e3 100644 --- a/csit/suites/controller/dom_data_broker/leader_isolation_prefbasedshard.robot +++ b/csit/suites/controller/dom_data_broker/leader_isolation_prefbasedshard.robot @@ -27,6 +27,11 @@ Healing_Within_Transaction_Timeout ... and within transaction timeout. ${HEAL_WITHIN_TRANS_TIMEOUT} +Restart + [Documentation] Restart odl + [Template] + DdbCommons.Restart_Test_Templ + Healing_After_2x_Transaction_Timeout [Documentation] The isolated node (leader) is rejoined after 2x transaction timeout. ${${TRANSACTION_TIMEOUT_2X}+1}