[VOL-3372] Performance improvements Integration Test for OpenOnu go adapter: Remove Teardown Collect Logs
Change-Id: I526a49f4747a288e2eb0e39f9c39da88906d2d57
diff --git a/tests/openonu-go-adapter/Voltha_ONUStateTests.robot b/tests/openonu-go-adapter/Voltha_ONUStateTests.robot
index 929f815..ce1fcf7 100755
--- a/tests/openonu-go-adapter/Voltha_ONUStateTests.robot
+++ b/tests/openonu-go-adapter/Voltha_ONUStateTests.robot
@@ -43,6 +43,7 @@
${testmode} SingleState
${porttest} True
${debugmode} False
+${logging} False
${pausebeforecleanup} False
*** Test Cases ***
@@ -59,7 +60,7 @@
... ELSE IF "${testmode}"=="Up2State" Do ONU Up To State Test
... ELSE IF "${testmode}"=="SingleStateTime" Do ONU Single State Test Time
... ELSE Fail The testmode (${testmode}) is not valid!
- [Teardown] Run Keywords Collect Logs
+ [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs
... AND Stop Logging ONUStateTest
Onu Port Check
@@ -68,7 +69,7 @@
[Tags] onutest
[Setup] Start Logging ONUPortTest
Run Keyword If ${porttest} Do Onu Port Check
- [Teardown] Run Keywords Collect Logs
+ [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs
... AND Stop Logging ONUPortTest
*** Keywords ***