Permalink
Browse files

Unit test failure fix for CSHARP-389

  • Loading branch information...
1 parent cf221ae commit 5f2f85805f93fdd5e81e1d6cb49f3b053e419f98 Sridhar Nanjundeswaran committed Mar 26, 2013
Showing with 7 additions and 0 deletions.
  1. +7 −0 MongoDB.DriverUnitTests/Jira/CSharp355Tests.cs
@@ -71,6 +71,13 @@ public void TestDefaultBitmap()
[Test]
public void TestBitmap()
{
+ if (TestEnvironment.IsMono)
+ {
+ // This test does not work in Mono on Ubuntu. Throws a
+ // System.TypeInitializationException on the Bitmap
+ // construction
+ return;
+ }
var bitmap = GetTestBitmap();
var c = new C { I = bitmap, B = bitmap };
_collection.RemoveAll();

0 comments on commit 5f2f858

Please sign in to comment.