From 632dc80c3ca42fe7f3d041c645eabef284f147e8 Mon Sep 17 00:00:00 2001 From: JingLu5 Date: Tue, 16 May 2017 05:21:13 +0000 Subject: Bugfix: change monitor command in tc019 JIRA: YARDSTICK-655 The original openstack command used for monitoring high availability openstack nova-api service in tc019 is "nova image-list", the "openstack image list" command used in tc019 now may not correctly show the nova-api service status. This is patch swtich the monitor command to "openstack server list". Change-Id: I8810f28b4328ceb4d911a3041a24774ae9cae8f0 Signed-off-by: JingLu5 (cherry picked from commit a5e13df9381c531716b1e41e7a9dedb130fc6e35) --- docs/testing/user/userguide/opnfv_yardstick_tc019.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'docs/testing') diff --git a/docs/testing/user/userguide/opnfv_yardstick_tc019.rst b/docs/testing/user/userguide/opnfv_yardstick_tc019.rst index 1af502253..57e8ddf79 100644 --- a/docs/testing/user/userguide/opnfv_yardstick_tc019.rst +++ b/docs/testing/user/userguide/opnfv_yardstick_tc019.rst @@ -21,8 +21,8 @@ Yardstick Test Case Description TC019 +--------------+--------------------------------------------------------------+ |test method | This test case kills the processes of a specific Openstack | | | service on a selected control node, then checks whether the | -| | request of the related Openstack command is OK and the killed| -| | processes are recovered. | +| | request of the related Openstack command is OK and the | +| | killed processes are recovered. | | | | +--------------+--------------------------------------------------------------+ |attackers | In this test case, an attacker called "kill-process" is | @@ -52,8 +52,8 @@ Yardstick Test Case Description TC019 | | | | | 2. the "process" monitor check whether a process is running | | | on a specific node, which needs three parameters: | -| | 1) monitor_type: which used for finding the monitor class and| -| | related scritps. It should be always set to "process" | +| | 1) monitor_type: which used for finding the monitor class | +| | and related scritps. It should be always set to "process" | | | for this monitor. | | | 2) process_name: which is the process name for monitor | | | 3) host: which is the name of the node runing the process | @@ -61,7 +61,7 @@ Yardstick Test Case Description TC019 | | e.g. | | | monitor1: | | | -monitor_type: "openstack-cmd" | -| | -command_name: "nova image-list" | +| | -command_name: "openstack server list" | | | monitor2: | | | -monitor_type: "process" | | | -process_name: "nova-api" | @@ -123,9 +123,9 @@ Yardstick Test Case Description TC019 | | Result: The test case is passed or not. | | | | +--------------+--------------------------------------------------------------+ -|post-action | It is the action when the test cases exist. It will check the| -| | status of the specified process on the host, and restart the | -| | process if it is not running for next test cases | +|post-action | It is the action when the test cases exist. It will check | +| | the status of the specified process on the host, and restart | +| | the process if it is not running for next test cases | | | | +--------------+--------------------------------------------------------------+ |test verdict | Fails only if SLA is not passed, or if there is a test case | -- cgit 1.2.3-korg