Add noloss notifications longevity suite and a job testplan 42/53342/5
authorPeter Gubka <pgubka@cisco.com>
Wed, 15 Mar 2017 12:28:37 +0000 (13:28 +0100)
committerVratko Polák <vrpolak@cisco.com>
Thu, 16 Mar 2017 11:17:22 +0000 (11:17 +0000)
Change-Id: I583fcf4488647d232387e3ba1f0029f81fcdd260
Signed-off-by: Peter Gubka <pgubka@cisco.com>
csit/suites/controller/dom_notification_broker/noloss_rate_longevity_1node.robot [new file with mode: 0644]
csit/testplans/controller-notifications-longevity.txt [new file with mode: 0644]

diff --git a/csit/suites/controller/dom_notification_broker/noloss_rate_longevity_1node.robot b/csit/suites/controller/dom_notification_broker/noloss_rate_longevity_1node.robot
new file mode 100644 (file)
index 0000000..67a0125
--- /dev/null
@@ -0,0 +1,30 @@
+*** Settings ***
+Documentation     DOMNotificationBroker longevity testing: No-loss rate
+...
+...               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
+...
+...               Provides routing of YANG notifications from publishers to subscribers.
+...               The purpose of this test is to determine the broker can forward messages without
+...               loss. We do this on a single-node setup by incrementally adding publishers and
+...               subscribers.
+Suite Setup       SetupUtils.Setup_Utils_For_Setup_And_Teardown
+Suite Teardown    SSHLibrary.Close_All_Connections
+Test Setup        SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
+Test Teardown     SetupUtils.Teardown_Test_Show_Bugs_If_Test_Failed
+Default Tags      critical
+Test Template     DnbCommons.Dom_Notification_Broker_Test_Templ
+Library           SSHLibrary
+Resource          ${CURDIR}/../../../libraries/controller/DnbCommons.robot
+Resource          ${CURDIR}/../../../libraries/SetupUtils.robot
+
+*** Variables ***
+${DURATION_24_HOURS_IN_SECONDS}    86400
+${NOTIFICATION_RATE}    ${60000}
+
+*** Test Cases ***
+Notifications_longevity
+    ${NOTIFICATION_RATE}    ${DURATION_24_HOURS_IN_SECONDS}
diff --git a/csit/testplans/controller-notifications-longevity.txt b/csit/testplans/controller-notifications-longevity.txt
new file mode 100644 (file)
index 0000000..6e3e9fc
--- /dev/null
@@ -0,0 +1,8 @@
+# Copyright (c) 2015 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
+
+# Place the suites in run order:
+integration/test/csit/suites/controller/dom_notification_broker/noloss_rate_longevity_1node.robot