Skip to content
Permalink
Browse files

[travis] Disable flaky test

  • Loading branch information
m-kuhn committed Sep 21, 2017
1 parent e47aa6d commit 8f2c885436008747fde97fa4e8e67277c4f74742
Showing with 2 additions and 2 deletions.
  1. +1 −2 tests/src/python/test_qgsactionmanager.py
  2. +1 −0 tests/src/python/test_qgsserver_wms.py
@@ -154,8 +154,7 @@ def check_action_result(self, temp_file):
return output

@unittest.expectedFailure(platform.system() != 'Linux')
@unittest.skipIf(
os.environ.get('TRAVIS', '') == 'true', 'Test is flaky on Travis environment')
@unittest.skipIf(os.environ.get('TRAVIS', '') == 'true', 'Test is flaky on Travis environment')
def testDoAction(self):
""" test running action """

@@ -64,6 +64,7 @@ def wms_request_compare(self, request, extra=None, reference_file=None):

self.assertXMLEqual(response, expected, msg="request %s failed.\nQuery: %s\nExpected file: %s\nResponse:\n%s" % (query_string, request, reference_path, response.decode('utf-8')))

@unittest.skipIf(os.environ.get('TRAVIS', '') == 'true', 'Test is flaky on Travis environment')
def test_project_wms(self):
"""Test some WMS request"""
for request in ('GetCapabilities', 'GetProjectSettings', 'GetContext'):

0 comments on commit 8f2c885

Please sign in to comment.
You can’t perform that action at this time.