add missed logging flag
Change-Id: I8c20e45a3974695669cf6395f3ffeeb589d32d8d
diff --git a/VERSION b/VERSION
index 38bc521..56f5e1b 100755
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.8.11
+2.8.12
diff --git a/tests/dt-workflow/Voltha_DT_MultiOLT_Tests.robot b/tests/dt-workflow/Voltha_DT_MultiOLT_Tests.robot
old mode 100644
new mode 100755
index d1c1593..98d4eaf
--- a/tests/dt-workflow/Voltha_DT_MultiOLT_Tests.robot
+++ b/tests/dt-workflow/Voltha_DT_MultiOLT_Tests.robot
@@ -54,6 +54,10 @@
# Per-test logging on failure is turned off by default; set this variable to enable
${container_log_dir} ${None}
+# logging flag to enable Collect Logs, can be passed via the command line too
+# example: -v logging:False
+${logging} True
+
*** Test Cases ***
Verify OLT after Rebooting Physically for DT - Multiple OLT
[Documentation] Test the physical reboot of the OLT
@@ -64,7 +68,7 @@
... other OLT are still functional
[Tags] functionalDt MultiOLTPhysicalRebootDt
[Setup] Start Logging MultiOlt_Physical_Dt
- [Teardown] Run Keywords Collect Logs
+ [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs
... AND Stop Logging MultiOlt_Physical_Dt
# Execute the test when the number of OLTs are greater than one
Pass Execution If ${olt_count} == 1 Skipping test: just one OLT
@@ -114,7 +118,7 @@
... other OLT are still functional
[Tags] MultiOLTSoftRebootDt functionalDt
[Setup] Start Logging MultiOLTSoftRebootDt
- [Teardown] Run Keywords Collect Logs
+ [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs
... AND Stop Logging MultiOLTSoftRebootDt
... AND Delete All Devices and Verify
Pass Execution If ${olt_count} == 1 Skipping test: just one OLT