aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/honeycomb
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2016-11-14 13:57:40 +0100
committerPeter Mikus <pmikus@cisco.com>2016-11-16 07:53:24 +0000
commit7a0a0ec3986ad03444cd4864ae8d35019007be60 (patch)
tree580a48c29e5d5e4a10a5afecc6313d27b5245d48 /resources/libraries/robot/honeycomb
parent75485dc04cea50c7d2dac02f1f50c7f6ad705b63 (diff)
CSIT-454: HC Test: Improve logging on test failure
- set Honeycomb log level to TRACE before running Honeycomb tests - on a failed restconf request, print the last few lines of the log - show saved configuration during persistence suite restarts Change-Id: I07ee37a5403cfca946fd7ef25a42861273248fbe Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/libraries/robot/honeycomb')
-rw-r--r--resources/libraries/robot/honeycomb/interfaces.robot2
-rw-r--r--resources/libraries/robot/honeycomb/persistence.robot2
2 files changed, 3 insertions, 1 deletions
diff --git a/resources/libraries/robot/honeycomb/interfaces.robot b/resources/libraries/robot/honeycomb/interfaces.robot
index a3c8a13b1b..9940966fb9 100644
--- a/resources/libraries/robot/honeycomb/interfaces.robot
+++ b/resources/libraries/robot/honeycomb/interfaces.robot
@@ -237,7 +237,7 @@
| IPv4 neighbor from Honeycomb should be
| | [Documentation] | Retrieves ipv4 neighbor list through Honeycomb\
-| | and compares with neighbor list supplied in argument.
+| | ... | and compares with neighbor list supplied in argument.
| | ...
| | ... | *Arguments:*
| | ... | - node - information about a DUT node. Type: dictionary
diff --git a/resources/libraries/robot/honeycomb/persistence.robot b/resources/libraries/robot/honeycomb/persistence.robot
index 6d2cc1f2e3..84607a8991 100644
--- a/resources/libraries/robot/honeycomb/persistence.robot
+++ b/resources/libraries/robot/honeycomb/persistence.robot
@@ -37,6 +37,7 @@
| | ... | \| Honeycomb is restarted \| ${nodes['DUT1']} \|
| | [Arguments] | ${node}
| | Stop Honeycomb service on DUTs | ${node}
+| | Log Persisted Configuration | ${node}
| | Setup Honeycomb service on DUTs | ${node}
| VPP is restarted
@@ -78,6 +79,7 @@
| | ... | \| Honeycomb and VPP are restarted \| ${nodes['DUT1']} \|
| | [Arguments] | ${node}
| | Stop Honeycomb service on DUTs | ${node}
+| | Log Persisted Configuration | ${node}
| | Setup DUT | ${node}
| | Setup Honeycomb service on DUTs | ${node}