Commit ab64a479 authored by mgravell's avatar mgravell

hack around SkipTestException glitch

parent dd2c7ba8
......@@ -718,7 +718,11 @@ private class HazSqlGeo
[Fact]
public void DBGeography_SO24405645_SO24402424()
{
SkipIfMsDataClient();
try
{
SkipIfMsDataClient();
}
catch (SkipTestException) { return; } // just while we figure out why that isn't skipping
EntityFramework.Handlers.Register();
......@@ -741,7 +745,11 @@ public void DBGeography_SO24405645_SO24402424()
[Fact]
public void SqlGeography_SO25538154()
{
SkipIfMsDataClient();
try
{
SkipIfMsDataClient();
}
catch (SkipTestException) { return; } // just while we figure out why that isn't skipping
SqlMapper.ResetTypeHandlers();
connection.Execute("create table #SqlGeo (id int, geo geography, geometry geometry)");
......@@ -781,7 +789,11 @@ public void NullableSqlGeometry()
[Fact]
public void SqlHierarchyId_SO18888911()
{
SkipIfMsDataClient();
try
{
SkipIfMsDataClient();
}
catch (SkipTestException) { return; } // just while we figure out why that isn't skipping
SqlMapper.ResetTypeHandlers();
var row = connection.Query<HazSqlHierarchy>("select 3 as [Id], hierarchyid::Parse('/1/2/3/') as [Path]").Single();
......
......@@ -22,7 +22,11 @@ public EntityFrameworkTests()
[Fact]
public void Issue570_DbGeo_HasValues()
{
SkipIfMsDataClient();
try
{
SkipIfMsDataClient();
}
catch (SkipTestException) { return; } // just while we figure out why that isn't skipping
EntityFramework.Handlers.Register();
const string redmond = "POINT (-122.1215 47.6740)";
......@@ -39,7 +43,11 @@ public void Issue570_DbGeo_HasValues()
[Fact]
public void Issue22_ExecuteScalar_EntityFramework()
{
SkipIfMsDataClient();
try
{
SkipIfMsDataClient();
}
catch (SkipTestException) { return; } // just while we figure out why that isn't skipping
var geo = DbGeography.LineFromText("LINESTRING(-122.360 47.656, -122.343 47.656 )", 4326);
var geo2 = connection.ExecuteScalar<DbGeography>("select @geo", new { geo });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment