Skip to content
Permalink
Browse files

[mssql] Avoid some tests on Travis which trigger crashes in the ms od…

…bc driver

not our fault -- i think it's either an issue with the ms odbc
driver itself or qt's odbc database handling. In any case, it
doesn't crash locally, so let's just skip the tests which trigger
the crash for now and revisit when Travis environment is upgraded.(*)
  • Loading branch information
nyalldawson committed Oct 22, 2018
1 parent 1f852ff commit 54c587f028c781ee3e08405990d012523fa68016
Showing with 4 additions and 0 deletions.
  1. +4 −0 tests/src/python/test_provider_mssql.py
@@ -117,6 +117,10 @@ def getSource(self):
return vl

def getEditableLayer(self):
# Triggers a segfault in the sql server odbc driver on Travis - TODO test with more recent Ubuntu base image
if os.environ.get('TRAVIS', '') == 'true':
return

return self.getSource()

def enableCompiler(self):

0 comments on commit 54c587f

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