Clear known bug ID in SetupUtils.Teardown_Test_Show_Bugs_... 72/35772/2
authorJozef Behran <jbehran@cisco.com>
Fri, 4 Mar 2016 10:46:12 +0000 (11:46 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 14 Mar 2016 11:04:24 +0000 (11:04 +0000)
commit62fd1f1e7bb540c4b8fdb7c1c299d731faf11d34
treeb4a4393d768450273313b12f9daccafadf7da7b0
parenta108bd396bc5cc8e7cda1d24a3988dc7d34ada50
Clear known bug ID in SetupUtils.Teardown_Test_Show_Bugs_...

When a known bug ID is set to e.g. 1234 and the test steps
after that will catch the bug 1234, the bug ID 1234 is
reported (correctly). But then the rest of the test case is
skipped and the next one is started. This means that the
next test case will have the bug ID set to 1234 and if
it fails, it will also report it found bug 1234 while in
reality it was supposed to report a bug search link instead.
Fix the problem by clearing the bug ID after reporting the
bug.

Change-Id: I44d9c17bd9e22dc4792529dea0425a7f6d06940e
Signed-off-by: Jozef Behran <jbehran@cisco.com>
csit/libraries/SetupUtils.robot