[Libreoffice-commits] core.git: uitest/calc_tests

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Dec 19 18:51:05 UTC 2016


 uitest/calc_tests/create_chart.py |    3 +++
 uitest/calc_tests/edit_chart.py   |    3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

New commits:
commit ef16c96a51809f97d66e7e22595388e54e974cf1
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Wed Dec 14 07:13:08 2016 +0100

    uitest: disable tests that deadlock with mutex problems
    
    This seems to be a race condition that is not really related to the UI
    testing. It should happen any time with out-of-process UNO.
    
    Change-Id: I86e42fc6c3848c4522e6f4e5db72e92917e19286
    Reviewed-on: https://gerrit.libreoffice.org/31995
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/uitest/calc_tests/create_chart.py b/uitest/calc_tests/create_chart.py
index 6ad7b81..c43be5f 100644
--- a/uitest/calc_tests/create_chart.py
+++ b/uitest/calc_tests/create_chart.py
@@ -10,6 +10,7 @@ from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.framework import UITestCase
 
 import time
+import unittest
 
 class CalcChartUIDemo(UITestCase):
 
@@ -108,6 +109,7 @@ class CalcChartUIDemo(UITestCase):
 
         self.ui_test.close_doc()
 
+    @unittest.skip("linux deadlock")
     def test_activate_chart(self):
 
         self.ui_test.create_doc_in_start_center("calc")
@@ -133,6 +135,7 @@ class CalcChartUIDemo(UITestCase):
 
         self.ui_test.close_doc()
 
+    @unittest.skip("linux deadlock")
     def select_chart_element(self):
 
         self.ui_test.create_doc_in_start_center("calc")
diff --git a/uitest/calc_tests/edit_chart.py b/uitest/calc_tests/edit_chart.py
index 9ed5255..c5d85c0 100644
--- a/uitest/calc_tests/edit_chart.py
+++ b/uitest/calc_tests/edit_chart.py
@@ -9,7 +9,7 @@ from libreoffice.uno.propertyvalue import mkPropertyValues
 
 from uitest.framework import UITestCase
 
-import time
+import unittest
 
 class CalcChartEditUIDemo(UITestCase):
 
@@ -33,6 +33,7 @@ class CalcChartEditUIDemo(UITestCase):
 
         xGridWindow.executeAction("SELECT", mkPropertyValues({"RANGE": "A1:C2"}))
 
+    @unittest.skip("deadlock in the chart/embbedobj code")
     def test_select_secondary_axis(self):
 
         self.ui_test.create_doc_in_start_center("calc")


More information about the Libreoffice-commits mailing list