Skip to content

Commit

Permalink
[travis] Disable flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 21, 2017
1 parent e47aa6d commit 8f2c885
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions tests/src/python/test_qgsactionmanager.py
Expand Up @@ -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 """

Expand Down
1 change: 1 addition & 0 deletions tests/src/python/test_qgsserver_wms.py
Expand Up @@ -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'):
Expand Down

0 comments on commit 8f2c885

Please sign in to comment.